Fix INSTALL generation for source code and Mac binary distribution.

Include CMDLINE files in Mac packages.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2653
This commit is contained in:
Simon Howard 2013-09-15 22:52:54 +00:00
parent b0a0f90cd9
commit 3cd3810c38
2 changed files with 4 additions and 1 deletions

View file

@ -60,7 +60,8 @@ DIST_SUBDIRS=pkg $(SUBDIRS)
if HAVE_PYTHON
INSTALL : man/INSTALL.template man/simplecpp
./man/simplecpp < man/INSTALL.template > $@
./man/simplecpp -DDOOM -DHERETIC -DHEXEN -DSTRIFE \
< man/INSTALL.template > $@
endif

View file

@ -90,6 +90,7 @@ $(STAGING_DIR): launcher $(TOPLEVEL_DOCS)
$(STRIP) "$(APP_BIN_DIR)/$(PROGRAM_PREFIX)setup"
$(TOPLEVEL)/man/simplecpp -DPRECOMPILED -D__MACOSX__ \
-DDOOM -DHERETIC -DHEXEN -DSTRIFE \
< $(TOPLEVEL)/man/INSTALL.template \
> "$(APP_DOC_DIR)/INSTALL"
@ -98,6 +99,7 @@ $(STAGING_DIR): launcher $(TOPLEVEL_DOCS)
mkdir -p "$(APP_BIN_DIR)/man/man5" "$(APP_BIN_DIR)/man/man6"
cp $(TOPLEVEL)/man/*.5 "$(APP_BIN_DIR)/man/man5"
cp $(TOPLEVEL)/man/*.6 "$(APP_BIN_DIR)/man/man6"
cp $(TOPLEVEL)/man/CMDLINE.{doom,heretic,hexen,strife} $(APP_DOC_DIR)
cp disk/dir.DS_Store $(STAGING_DIR)/.DS_Store
cp disk/background.png $(STAGING_DIR)/background.png