aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-03-05 12:24:42 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-03-05 12:24:42 +0100
commit18e186b517d56db2fb447cb92d27fb6857f9e763 (patch)
treeda7826743a4f9dd47c7d69460274d3e34b553a4a /Makefile
parent1a4d0c7c51972107674a7ac6b16e833ccc61c667 (diff)
downloadnx-libs-18e186b517d56db2fb447cb92d27fb6857f9e763.tar.gz
nx-libs-18e186b517d56db2fb447cb92d27fb6857f9e763.tar.bz2
nx-libs-18e186b517d56db2fb447cb92d27fb6857f9e763.zip
Makefile: clean-up auto-generated nxversion.def in clean rule (not in build rule).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2f8dda83a..6400f21dd 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: