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 | |
parent | cc2ab4b1ce196f2324c8516d910e24b723b87c56 (diff) |
only clean files likely to have been made by this build system
svn path=/trunk/; revision=16919
-rw-r--r-- | externals/Makefile | 67 | ||||
-rw-r--r-- | packages/Makefile | 4 | ||||
-rw-r--r-- | packages/Makefile.buildlayout | 83 |
3 files changed, 2 insertions, 152 deletions
diff --git a/externals/Makefile b/externals/Makefile index e453819c..51fc3fb2 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -204,8 +204,6 @@ flatspace_install: flatspace $(objectsdir) flatspace_clean: -rm -f -- $(FLATSPACE_OBJECTS:.c=.o) -rm -f -- $(FLATSPACE_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(externals_src)/build/src/*.*~ - -rm -f -- $(externals_src)/build/src/*.c.bak @@ -244,8 +242,6 @@ aka.wiiremote_install: aka.wiiremote aka.wiiremote_clean: -rm -f -- $(externals_src)/io/aka.wiiremote/aka.wiiremote.$(EXTENSION) -rm -f -- $(AKA.WIIREMOTE_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/io/aka.wiiremote/*.bak - -rm -f -- $(externals_src)/io/aka.wiiremote/*.*~ @@ -377,8 +373,6 @@ creb_clean: -rm -f -- $(CREB_OBJECTS:.c=.o) -rm -f -- $(CREB_CXXOBJECTS:.cc=.$(EXTENSION)) -rm -f -- $(CREB_CXXOBJECTS:.cc=.o) - -rm -f -- $(externals_src)/creb/*/*.bak - -rm -f -- $(externals_src)/creb/*/*.*~ #------------------------------------------------------------------------------# @@ -504,8 +498,6 @@ flib_install: flib flib_clean: -rm -f -- $(FLIB_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(FLIB_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/postlude/flib/*/*.bak - -rm -f -- $(externals_src)/postlude/flib/*/*.*~ @@ -534,8 +526,6 @@ frankenstein_install: frankenstein frankenstein_clean: -rm -f -- $(externals_src)/frankenstein/*.$(EXTENSION) -rm -f -- $(externals_src)/frankenstein/*.o - -rm -f -- $(externals_src)/frankenstein/*.bak - -rm -f -- $(externals_src)/frankenstein/*.*~ @@ -640,8 +630,6 @@ gem2pdp_clean: -rm -f -- $(externals_src)/gem2pdp/Makefile -rm -f -- $(GEM2PDP_OBJECTS:.cpp=.$(EXTENSION)) -rm -f -- $(externals_src)/gem2pdp/*.o - -rm -f -- $(externals_src)/gem2pdp/*.bak - -rm -f -- $(externals_src)/gem2pdp/*.*~ #------------------------------------------------------------------------------# @@ -711,8 +699,6 @@ hidin_install: hidin hidin_clean: -rm -f -- $(HIDIN_DLL) -rm -f -- $(HIDIN_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/olafmatt/hidin/*.bak - -rm -f -- $(externals_src)/olafmatt/hidin/*.*~ @@ -741,8 +727,6 @@ iem_ambi_install: iem_ambi iem_ambi_clean: -rm -f -- $(IEM_AMBI_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(IEM_AMBI_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/iem/iem_ambi/*/*.bak - -rm -f -- $(externals_src)/iem/iem_ambi/*/*.*~ @@ -769,8 +753,6 @@ iem_bin_ambi_install: iem_bin_ambi iem_bin_ambi_clean: -rm -f -- $(IEM_BIN_AMBI_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(IEM_BIN_AMBI_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/iem/iem_bin_ambi/*/*.bak - -rm -f -- $(externals_src)/iem/iem_bin_ambi/*/*.*~ @@ -816,8 +798,6 @@ iem16_clean: -rm -f -- $(IEM16_DIR)/configure -rm -f -- $(IEM16_DIR)/Make.config -rm -f -- $(IEM16_DIR)/*.o - -rm -f -- $(IEM16_DIR)/*.bak - -rm -f -- $(IEM16_DIR)/*.*~ #------------------------------------------------------------------------------# # IEMGUTS @@ -841,8 +821,6 @@ iemguts_install: iemguts iemguts_clean: -rm -f -- $(IEMGUTS_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(IEMGUTS_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/iem/iemguts/*.bak - -rm -f -- $(externals_src)/iem/iemguts/*.*~ @@ -932,8 +910,6 @@ iemmatrix_clean: -rm -f -- $(IEMMATRIX_OBJ:.o=.$(EXTENSION)) -rm -f -- $(externals_src)/iem/iemmatrix/src/*.o -rm -f -- $(externals_src)/iem/iemmatrix/alias/*.o - -rm -f -- $(externals_src)/iem/iemmatrix/src/*.bak - -rm -f -- $(externals_src)/iem/iemmatrix/src/*.*~ #------------------------------------------------------------------------------# @@ -970,8 +946,6 @@ jasch_lib_install: jasch_lib jasch_lib_clean: -rm -f -- $(JASCH_LIB_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(JASCH_LIB_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/jasch_lib/*/*.bak - -rm -f -- $(externals_src)/jasch_lib/*/*.*~ #------------------------------------------------------------------------------# @@ -992,8 +966,6 @@ loaders-hexloader_install: loaders-hexloader loaders-hexloader_clean: -rm -f -- $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(externals_src)/loaders/hexloader/*.o - -rm -f -- $(externals_src)/loaders/*.bak - -rm -f -- $(externals_src)/loaders/hexloader/*.*~ #------------------------------------------------------------------------------# @@ -1147,8 +1119,6 @@ moocow_install: moocow_clean: $(MAKE) -C $(externals_src)/moocow/extended distclean - -rm -f -- $(MOOCOW_DIR)/*.bak - -rm -f -- $(MOOCOW_DIR)/*.*~ @@ -1208,8 +1178,6 @@ mrpeach_install: mrpeach mrpeach_clean: -rm -f -- $(MRPEACH_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(MRPEACH_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/mrpeach/*.bak - -rm -f -- $(externals_src)/mrpeach/*.*~ #------------------------------------------------------------------------------# @@ -1420,7 +1388,6 @@ endif pdp_clean: -rm -f -- $(externals_src)/pdp/*.$(EXTENSION) -find $(externals_src)/pdp -name '*.o' | xargs rm -f -- - -find $(externals_src)/pdp -name '*.bak' | xargs rm -f -- -rm -f -- $(externals_src)/pdp/Makefile.config -rm -f -- $(externals_src)/pdp/configure @@ -1466,8 +1433,6 @@ endif pdp_opengl_clean: make -C $(externals_src)/pdp/opengl clean -rm -f -- $(PDP_OPENGL_BINARY) - -rm -f -- $(externals_src)/pdp_opengl/*.bak - -rm -f -- $(externals_src)/pdp_opengl/*.*~ #------------------------------------------------------------------------------# @@ -1530,7 +1495,6 @@ endif pidip_clean: -rm -f -- $(externals_src)/pidip/*.$(EXTENSION) -find $(externals_src)/pidip -name '*.o' | xargs rm -f -- - -rm -f -- $(externals_src)/pidip/*.bak -rm -f -- $(externals_src)/pidip/Makefile -rm -f -- $(externals_src)/pidip/configure @@ -1586,8 +1550,6 @@ postlude_install: postlude postlude_clean: -rm -f -- $(POSTLUDE_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(POSTLUDE_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/postlude/*/*.bak - -rm -f -- $(externals_src)/postlude/*/*.*~ @@ -1682,8 +1644,6 @@ tof_install: tof tof_clean: -rm -f -- $(TOF_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(TOF_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/tof/src/*.bak - -rm -f -- $(externals_src)/tof/src/*.*~ #------------------------------------------------------------------------------# # TOXY @@ -1825,9 +1785,6 @@ zexy_clean: -rm -f -- $(externals_src)/zexy/m4/libtool.m4 -rm -f -- $(externals_src)/zexy/configure -rm -f -- $(externals_src)/zexy/src/*.o - -rm -f -- $(externals_src)/zexy/src/*.bak - -rm -f -- $(externals_src)/*/*.*~ - -rm -f -- $(externals_src)/*.*~ @@ -1869,11 +1826,7 @@ pdcontainer_install: pdcontainer pdcontainer_clean: -rm -f -- $(PDCONTAINER_TARGETS) -rm -f -- $(externals_src)/grh/PDContainer/src/*.o - -rm -f -- $(externals_src)/grh/PDContainer/src/*.bak - -rm -f -- $(externals_src)/grh/PDContainer/src/*.*~ -rm -f -- $(externals_src)/grh/PDContainer/tinyxml/*.o - -rm -f -- $(externals_src)/grh/PDContainer/tinyxml/*.bak - -rm -f -- $(externals_src)/grh/PDContainer/tinyxml/*.*~ @@ -1919,8 +1872,6 @@ adaptive_install: adaptive adaptive_clean: -rm -f -- $(ADAPTIVE_TARGETS) -rm -f -- $(ADAPTIVE_OBJECTS) - -rm -f -- $(externals_src)/grh/adaptive/src/*.bak - -rm -f -- $(externals_src)/grh/adaptive/src/*.*~ @@ -1948,8 +1899,6 @@ iem_adaptfilt_install: iem_adaptfilt iem_adaptfilt_clean: -rm -f -- $(IEMADAPT_SRC:.c=.$(EXTENSION)) -rm -f -- $(IEMADAPT_SRC:.c=.o) - -rm -f -- $(externals_src)/iem/iem_adaptfilt/src/*.bak - -rm -f -- $(externals_src)/iem/iem_adaptfilt/src/*.*~ @@ -1976,8 +1925,6 @@ iem_delay_install: iem_delay iem_delay_clean: -rm -f -- $(IEMDELAY_SRC:.c=.$(EXTENSION)) -rm -f -- $(IEMDELAY_SRC:.c=.o) - -rm -f -- $(externals_src)/iem/iem_delay/src/*.bak - -rm -f -- $(externals_src)/iem/iem_delay/src/*.*~ @@ -2004,8 +1951,6 @@ iem_roomsim_install: iem_roomsim iem_roomsim_clean: -rm -f -- $(IEMROOM_SRC:.c=.$(EXTENSION)) -rm -f -- $(IEMROOM_SRC:.c=.o) - -rm -f -- $(externals_src)/iem/iem_roomsim/src/*.bak - -rm -f -- $(externals_src)/iem/iem_roomsim/src/*.*~ @@ -2032,8 +1977,6 @@ iem_spec2_install: iem_spec2 iem_spec2_clean: -rm -f -- $(IEMSPEC2_SRC:.c=.$(EXTENSION)) -rm -f -- $(IEMSPEC2_SRC:.c=.o) - -rm -f -- $(externals_src)/iem/iem_spec2/src/*.bak - -rm -f -- $(externals_src)/iem/iem_spec2/src/*.*~ @@ -2073,8 +2016,6 @@ iem_tab_install: iem_tab iem_tab_clean: -rm -f -- $(IEMTAB_TARGETS) -rm -f -- $(IEMTAB_OBJ) - -rm -f -- $(externals_src)/iem/iem_tab/src/*.bak - -rm -f -- $(externals_src)/iem/iem_tab/src/*.*~ @@ -2100,8 +2041,6 @@ flashserver_install: flashserver flashserver_clean: -rm -f -- $(FLASHSERVER_OBJECTS:.c=.$(EXTENSION)) -rm -f -- $(FLASHSERVER_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/olafmatt/flashserver/*.bak - -rm -f -- $(externals_src)/olafmatt/flashserver/*.*~ @@ -2137,8 +2076,6 @@ hdspm_mixer_install: hdspm_mixer hdspm_mixer_clean: -rm -f -- $(HDSPM_TARGET) -rm -f -- $(HDSPM_OBJ) - -rm -f -- $(externals_src)/iem/hdspm_mixer/*.bak - -rm -f -- $(externals_src)/iem/hdspm_mixer/*.*~ @@ -2178,8 +2115,6 @@ iemgui_install: iemgui iemgui_clean: -rm -f -- $(IEMGUI_TARGETS) -rm -f -- $(IEMGUI_OBJ) - -rm -f -- $(externals_src)/iem/iemgui/src/*.bak - -rm -f -- $(externals_src)/iem/iemgui/src/*.*~ @@ -2223,8 +2158,6 @@ iemxmlrpc_clean: -rm -f -- $(IEMXMLRPC_TARGET) -rm -f -- $(externals_src)/iem/iemxmlrpc/xmlrpc++/src/*.o -rm -f -- $(externals_src)/iem/iemxmlrpc/*.o - -rm -f -- $(externals_src)/iem/iemxmlrpc/*.bak - -rm -f -- $(externals_src)/iem/iemxmlrpc/*.*~ 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 - - |