shithub: choc

Download patch

ref: 3f7cafb370365651c76bba51b7f09110b35d6252
parent: 31e5261c981d89b2e83191c01e57a252cd94f2ae
author: Simon Howard <[email protected]>
date: Tue Dec 3 23:40:02 EST 2013

Fix 'make clean' where some files were not being cleaned (thanks
fabian).

Subversion-branch: /branches/v2-branch
Subversion-revision: 2756

--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -35,6 +35,9 @@
 hexendocs_DATA   = INSTALL.hexen   CMDLINE.hexen
 strifedocs_DATA  = INSTALL.strife  CMDLINE.strife
 
+CLEANFILES = $(man_MANS) $(doomdocs_DATA) $(hereticdocs_DATA) \
+             $(hexendocs_DATA) $(strifedocs_DATA)
+
 chocolate-doom.6: ../src $(MANPAGE_GEN_FILES)
 	./docgen -g doom -m doom.template ../src ../src/doom > $@
 
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -229,6 +229,8 @@
 @[email protected]: doom-screensaver.desktop
 	cp doom-screensaver.desktop $@
 
+CLEANFILES = $(execgames_SCRIPTS) $(app_DATA) $(screensaver_DATA)
+
 .rc.o:
 	$(WINDRES) $< -o $@
 %.o : %.rc
--- a/src/setup/Makefile.am
+++ b/src/setup/Makefile.am
@@ -30,6 +30,8 @@
 appdir = $(prefix)/share/applications
 app_DATA = @[email protected]
 
+CLEANFILES = $(app_DATA)
+
 @[email protected] : setup.desktop
 	cp setup.desktop $@