[X2Go-Commits] [nx-libs] 05/05: Makefile: clean-up auto-generated nxversion.def in clean rule (not in build rule).

git-admin at x2go.org git-admin at x2go.org
Thu Mar 5 12:25:00 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 18e186b517d56db2fb447cb92d27fb6857f9e763
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Mar 5 12:24:42 2015 +0100

    Makefile: clean-up auto-generated nxversion.def in clean rule (not in build rule).
---
 Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 2f8dda8..6400f21 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,11 @@ SHELL:=/bin/bash
 	    if test -f nx-X11/Makefile; then ${MAKE} -C nx-X11 $@; fi; \
 	fi
 
+	# clean auto-generated nxversion.def file \
+	if [ "x$@" == "xclean" ]; then \
+	    rm -f nx-X11/config/cf/nxversion.def; \
+	fi
+
 all: build
 
 test:
@@ -61,9 +66,6 @@ build-full:
 
 	cd nx-X11 && ${MAKE} World
 
-	# clean directly after build
-	rm -f nx-X11/config/cf/nxversion.def
-
 	cd nxproxy && autoconf && (${CONFIGURE}) && ${MAKE}
 
 build:

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list