shithub: choc

Download patch

ref: dfff86ebefb6044183022016da67c7cae691b973
parent: c94870783a025514286df1d8bb43cf616b865547
author: Simon Howard <fraggle@gmail.com>
date: Mon Jan 4 17:24:48 EST 2010

Include documentation files in package.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1787

--- a/pkg/osx/GNUmakefile
+++ b/pkg/osx/GNUmakefile
@@ -3,6 +3,14 @@
 
 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 @@
 	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