foxygit / doom Log in
commit dfff86ebefb6044183022016da67c7cae691b973
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Jan 4 22:24:48 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon Jan 4 22:24:48 2010 +0000

    Include documentation files in package.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1787
---
 pkg/osx/GNUmakefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/pkg/osx/GNUmakefile b/pkg/osx/GNUmakefile
index 67f0fed8..82c353fe 100644
--- a/pkg/osx/GNUmakefile
+++ b/pkg/osx/GNUmakefile
@@ -3,6 +3,14 @@ include config.make

 STAGING_DIR=staging
 DMG=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).dmg
+DOC_FILES=\
+        README       \
+        COPYING      \
+        ChangeLog    \
+        NEWS         \
+        BUGS         \
+        CMDLINE      \
+        TODO

 ifndef GNUSTEP_MAKEFILES

@@ -25,7 +33,7 @@ $(STAGING_DIR): launcher
 	cp Info.plist "$(APP_DIR)/Contents/"
 	cp launcher "$(APP_DIR)/Contents/MacOS/"
 	# TODO: copy Doom and setup binaries into app dir
-	# TODO: copy other documentation into staging dir
+	for d in $(DOC_FILES); do cp ../../$$d $(STAGING_DIR)/; done
 	find $(STAGING_DIR) -name .svn -delete -exec rm -rf {} \; || true

 clean : launcher_clean