diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:16:30 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:16:30 +0100 |
commit | 236ee4ffa8e4fa92bb748301986307841ef060ab (patch) | |
tree | 5d388854cdc6ca5ae00ffef1502a59d345d4e298 /nx-X11/Makefile | |
parent | 9b72eeaa21ada21b117433b05c745b656b42963a (diff) | |
download | nx-libs-236ee4ffa8e4fa92bb748301986307841ef060ab.tar.gz nx-libs-236ee4ffa8e4fa92bb748301986307841ef060ab.tar.bz2 nx-libs-236ee4ffa8e4fa92bb748301986307841ef060ab.zip |
nxcomp*, nxproxy: Fix clean-up of source tree via Makefile.in templates.
024_fix-make-clean.full.patch
024_fix-make-clean.full+lite.patch
Diffstat (limited to 'nx-X11/Makefile')
-rw-r--r-- | nx-X11/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nx-X11/Makefile b/nx-X11/Makefile index 3aefb7974..7c4090a95 100644 --- a/nx-X11/Makefile +++ b/nx-X11/Makefile @@ -138,6 +138,7 @@ Makefile:: xmakefile: Imakefile $(RM) xmakefile + @rm -f $(IRULESRC)/date.def; echo "" > $(IRULESRC)/date.def; $(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) World.Win32: @@ -197,11 +198,16 @@ World.OS2: # a copy of every rule that might be invoked at top level clean: - $(MAKE_CMD) $@ + -$(MAKE_CMD) $@ + find config -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done + find lib -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done + find programs -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done + find include -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done + rm -f config/cf/{version.def,date.def} dangerous_strip_clean: $(MAKE_CMD) $@ distclean: - $(MAKE_CMD) $@ + -$(MAKE_CMD) $@ $(RM) xmakefile $(IRULESRC)/version.def $(IRULESRC)/date.def depend: $(MAKE_CMD) $@ |