[AD] Tidy up clean targets on Unix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


This patch fixes and updates the various clean targets on Unix. Issuing  
'make maintainer-clean' now brings the tree back to its naked CVS state.

Applied on mainline. An equivalent patch was applied to the branch.

-- 
Eric Botcazou
diff -u /home/eric/cvs/allegro/makefile.in allegro/makefile.in
--- /home/eric/cvs/allegro/makefile.in	Sat May 17 14:54:50 2003
+++ allegro/makefile.in	Tue May 20 19:05:21 2003
@@ -313,7 +313,7 @@
 distclean: clean
 
    define RM_DISTCLEAN_FILES
-      $(foreach file, $(DISTCLEAN_FILES), rm -f $(file)
+      $(foreach file, $(DISTCLEAN_FILES) $(ALLEGRO_LIB_X_EXES), rm -f $(file)
       )
    endef
 
@@ -326,11 +326,12 @@
       )
    endef
 
-	$(RM_VERYCLEAN_FILES) 
+	$(RM_VERYCLEAN_FILES)
 	rm -f makefile
 
 maintainer-clean: veryclean
-	rm -f configure
+	rm -f configure include/allegro/platform/alunixac.hin
+	rm -rf autom4te-*
 
 install: $(INSTALL_TARGETS)
 
diff -u /home/eric/cvs/allegro/makefile.lst allegro/makefile.lst
--- /home/eric/cvs/allegro/makefile.lst	Mon May 19 20:30:38 2003
+++ allegro/makefile.lst	Tue May 20 19:05:40 2003
@@ -575,9 +575,9 @@
 	docs/makedoc docs/allegro.dvi docs/allegro.ps* \
 	$(ALLEGRO_LIB_EXES) $(ALLEGRO_EXAMPLE_EXES) $(ALLEGRO_DATAFILE_EXES) \
 	*.exe */*.exe */*/*.exe msvcmake.bat tests/win/*.scr \
-	config.cache config.log stamp-h stamp-h[0-9]* suid makefile.dep \
-	config.status include/allegro/alunixac.h allegro-config
+	config.cache config.log config.status stamp-h stamp-h[0-9]* suid \
+	makefile.dep makefile.info include/allegro/platform/alunixac.h allegro-config
 
 VERYCLEAN_FILES = \
-	authors AUTHORS changes CHANGES thanks THANKS \
+	authors AUTHORS changes CHANGES thanks THANKS readme.txt \
 	obj/*/*/*.dep lib/*/*.def


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/