From 18e186b517d56db2fb447cb92d27fb6857f9e763 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 5 Mar 2015 12:24:42 +0100 Subject: 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 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: -- cgit v1.2.3