From 08ad5553fdec448b9c7955583a9728354e5ea4eb Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Mon, 20 Jan 2014 11:00:53 +0100 Subject: Some improvements to the build system 1) Instead of copying chocolate-setup into chocolate-{doom,heretic,hexen,strife}-setup, respectively, check in configure for symbolic linking and use that if available (falls back to "cp -pR" if not). 2) Add $(icons_DATA) to CLEANFILES so they get removed in clean phase; they are generated from doom-png and setup.png, respectively. 3) Consistently use @PROGRAM_PREFIX@ instead of the hard-coded "chocolate-" in the rules for the man pages. 4) Generate one man page for each setup program by symbolic linking of chocolate-setup.6 (see 1), add them to the list of installed man pages and to CLEANFILES. 5) Remove the redundant $(EXEEXT) suffix from the setup binaries (they were missing for execgames_PROGRAMS, anyway) --- data/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'data/Makefile.am') diff --git a/data/Makefile.am b/data/Makefile.am index 1fd4588c..894beb75 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -19,3 +19,4 @@ icons_DATA = @PROGRAM_PREFIX@doom.png \ @PROGRAM_PREFIX@setup.png : setup.png cp setup.png $@ +CLEANFILES = $(icons_DATA) -- cgit v1.2.3