diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-03-05 12:24:42 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-03-05 12:24:42 +0100 |
commit | 18e186b517d56db2fb447cb92d27fb6857f9e763 (patch) | |
tree | da7826743a4f9dd47c7d69460274d3e34b553a4a | |
parent | 1a4d0c7c51972107674a7ac6b16e833ccc61c667 (diff) | |
download | nx-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).
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |