foxygit / doom Log in
commit 60309a7b1574058754539b7b9cbe52d0e476d1bc
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Sat Apr 5 14:42:05 2014 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Sat Apr 5 14:42:05 2014 +0200

    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
---
 man/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 15bba637..ccdc1958 100644
--- 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 @@ SETUP_MAN_PAGES =                          \
            @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)