diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-18 22:20:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-18 22:20:33 +0000 |
commit | 911608bc17b960ce0e96c6701aafd1079372e9f9 (patch) | |
tree | 9a4de19301f14ab1cb30b385ee0d3baa625f2c8b /packages | |
parent | cc2ab4b1ce196f2324c8516d910e24b723b87c56 (diff) |
only clean files likely to have been made by this build system
svn path=/trunk/; revision=16919
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Makefile | 4 | ||||
-rw-r--r-- | packages/Makefile.buildlayout | 83 |
2 files changed, 2 insertions, 85 deletions
diff --git a/packages/Makefile b/packages/Makefile index 5c80f22e..9861a6d2 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -396,6 +396,7 @@ abstractions_clean: -$(MAKE) -C $(abstractions_src) $(DEST_PATHS) clean doc_clean: + -$(MAKE) -C $(doc_src) $(DEST_PATHS) clean externals_clean: -$(MAKE) -C $(externals_src) $(DEST_PATHS) clean @@ -403,12 +404,11 @@ externals_clean: pd_clean: -$(MAKE) -C $(pd_src)/src $(DEST_PATHS) clean -# these targets are all from Makefile.buildlayout: install_clean cruft_clean clean: abstractions_clean doc_clean externals_clean pd_clean echo "Complete clean finished." -distclean: cruft_clean +distclean: $(MAKE) -C $(abstractions_src) distclean $(MAKE) -C $(doc_src) distclean $(MAKE) -C $(externals_src) distclean diff --git a/packages/Makefile.buildlayout b/packages/Makefile.buildlayout index e42dfc57..ebc05b8e 100644 --- a/packages/Makefile.buildlayout +++ b/packages/Makefile.buildlayout @@ -184,86 +184,3 @@ PD-EXTENDED_VERSION = $(PD-EXTENDED_VERSION_PREFIX)-$(VERSION_DATE) PACKAGE_NAME = Pd-$(PD_VERSION) -#==============================================================================# -# -# CLEAN TARGETS -# -#==============================================================================# - -applications_clean: - -rm -f -- $(DESTDIR)$(examplesdir)/*/*/*/*/*.* - -rm -f -- $(DESTDIR)$(examplesdir)/*/*/*/*.* - -rm -f -- $(DESTDIR)$(examplesdir)/*/*/*.* - -rm -f -- $(DESTDIR)$(examplesdir)/*/*.* - -rmdir $(DESTDIR)$(examplesdir)/*/*/*/* - -rmdir $(DESTDIR)$(examplesdir)/*/*/* - -rmdir $(DESTDIR)$(examplesdir)/*/* - -rmdir $(DESTDIR)$(examplesdir)/* - -rmdir $(DESTDIR)$(examplesdir) - - -help_clean: - -rm -f -- $(DESTDIR)$(helpdir)/*/*/*.* - -rm -f -- $(DESTDIR)$(helpdir)/*/*.* - -rm -f -- $(DESTDIR)$(helpdir)/*.* - -rmdir $(DESTDIR)$(helpdir)/*/* - -rmdir $(DESTDIR)$(helpdir)/* - -rmdir $(DESTDIR)$(helpdir) - - -manuals_clean: - -rm -f -- $(DESTDIR)$(manualsdir)/*/*/*.* - -rm -f -- $(DESTDIR)$(manualsdir)/*/*.* - -rmdir $(DESTDIR)$(manualsdir)/*/* - -rmdir $(DESTDIR)$(manualsdir)/* - -rmdir $(DESTDIR)$(manualsdir) - - -objects_clean: - -rm $(DESTDIR)$(objectsdir)/*/*/*.pd - -rm $(DESTDIR)$(objectsdir)/*/*.pd - -rm $(DESTDIR)$(objectsdir)/*.pd - -rm $(DESTDIR)$(objectsdir)/*/*/*.$(EXTENSION) - -rm $(DESTDIR)$(objectsdir)/*/*.$(EXTENSION) - -rm $(DESTDIR)$(objectsdir)/*.$(EXTENSION) - -rmdir $(DESTDIR)$(objectsdir)/*/* - -rmdir $(DESTDIR)$(objectsdir)/* - -rmdir $(DESTDIR)$(objectsdir) - - -install_clean: applications_clean help_clean manuals_clean objects_clean - -rmdir $(DESTDIR)$(pddocdir) - -rmdir $(DESTDIR)$(prefix) - -rmdir $(DESTDIR) - @echo " " - @echo "Build destination cleaned: $(DESTDIR)" - - -cruft_clean: -# emacs litter - -rm -f -- */*/*/*/*.*~ - -rm -f -- */*/*/*.*~ - -rm -f -- */*/*.*~ - -rm -f -- */*.*~ - -rm -f -- *.*~ - -rm -f -- Makefile~ Makefile.buildlayout~ -# sed replace litter - -rm -f -- */*/*/*/*.bak - -rm -f -- */*/*/*.bak - -rm -f -- */*/*.bak - -rm -f -- */*.bak - -rm -f -- *.bak -# patching replace litter - -rm -f -- */*/*/*/*.rej - -rm -f -- */*/*/*.rej - -rm -f -- */*/*.rej - -rm -f -- */*.rej - -rm -f -- *.rej -# autoconf cache - -rm -rf -- */*/*/*/autom4te.cache - -rm -rf -- */*/*/autom4te.cache - -rm -rf -- */*/autom4te.cache - -rm -rf -- */autom4te.cache - -rm -rf -- autom4te.cache - - |