shithub: choc

Download patch

ref: 433230aa40fb9b77f8614cf201854eb3520a64a9
parent: ccfbd4a046de9590cadb522d1f754c78ee9f8d4e
author: Jonathan Dowland <jon@dow.land>
date: Mon Jan 15 14:10:52 EST 2018

man: Fix simplecpp -D arguments

--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -74,8 +74,8 @@
 
 INSTALL.doom: INSTALL.template
 	$(srcdir)/simplecpp -DDOOM \
-            -D LONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \
-            -D LONG_EXE_NAME="@PROGRAM_PREFIX@doom" \
+            -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \
+            -DLONG_EXE_NAME="@PROGRAM_PREFIX@doom" \
             -DPRECOMPILED < $(srcdir)/INSTALL.template > $@
 
 @PROGRAM_PREFIX@heretic.6: $(top_srcdir)/src $(MANPAGE_GEN_FILES) heretic.template
@@ -100,8 +100,8 @@
 
 INSTALL.heretic: INSTALL.template
 	$(srcdir)/simplecpp -DHERETIC \
-            -D LONG_GAME_NAME="@PACKAGE_SHORTNAME@ Heretic" \
-            -D LONG_EXE_NAME="@PROGRAM_PREFIX@heretic" \
+            -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Heretic" \
+            -DLONG_EXE_NAME="@PROGRAM_PREFIX@heretic" \
             -DPRECOMPILED < $(srcdir)/INSTALL.template > $@
 
 
@@ -127,8 +127,8 @@
 
 INSTALL.hexen: INSTALL.template
 	$(srcdir)/simplecpp -DHEXEN \
-            -D LONG_GAME_NAME="@PACKAGE_SHORTNAME@ Hexen" \
-            -D LONG_EXE_NAME="@PROGRAM_PREFIX@hexen" \
+            -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Hexen" \
+            -DLONG_EXE_NAME="@PROGRAM_PREFIX@hexen" \
             -DPRECOMPILED < $(srcdir)/INSTALL.template > $@
 
 @PROGRAM_PREFIX@strife.6: $(top_srcdir)/src $(MANPAGE_GEN_FILES)
@@ -171,7 +171,9 @@
 
 INSTALL: INSTALL.template
 	$(srcdir)//simplecpp -DDOOM -DHERETIC -DHEXEN -DSTRIFE \
-	            -DPRECOMPILED < $(srcdir)/INSTALL.template > $@
+            -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \
+            -DLONG_EXE_NAME="@PROGRAM_PREFIX@doom" \
+            -DPRECOMPILED < $(srcdir)/INSTALL.template > $@
 
 endif