shithub: choc

Download patch

ref: 60309a7b1574058754539b7b9cbe52d0e476d1bc
parent: 6537d7e90c48d76eb982701de8d0af6feb147fd0
author: Fabian Greffrath <fabian@greffrath.com>
date: Sat Apr 5 10:42:05 EDT 2014

Fix man/Makefile for forks

The chocolate-{server,serup}.6 manpages are static and not auto-generated, so they do not get renamed when the @PROGRAM_PREFIX@ variable changes. This breaks the Make rules for forks, which will have to create their own server and setup manpages anyway. This reverts part of commit 08ad5553 by myself which introduced the issue.

Fixes https://github.com/fabiangreffrath/crispy-doom/issues/2

--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,4 +1,3 @@
-
 MANPAGE_GEN_FILES = environ.man           \
                     doom.template         \
                     heretic.template      \
@@ -35,8 +34,8 @@
            @PROGRAM_PREFIX@hexen-setup.6   \
            @PROGRAM_PREFIX@strife-setup.6
 
-man_MANS = @PROGRAM_PREFIX@server.6       \
-           @PROGRAM_PREFIX@setup.6        \
+man_MANS = chocolate-server.6             \
+           chocolate-setup.6              \
            $(GENERATED_MAN_PAGES)         \
            $(SETUP_MAN_PAGES)