aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: