aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-31 17:19:25 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-31 17:19:25 +0000
commit2d128f7349a86610e308e6952cbd3b4e61b035ea (patch)
tree83dc02abaa1dec52f320b50408a6d4f78f4dea7b /Makefile
parentf373c9326a6715ab127bfe95426c3f55b97bfcfd (diff)
downloadpandoc-2d128f7349a86610e308e6952cbd3b4e61b035ea.tar.gz
Improvements to Mac OS X package build:
+ Add "pandoc" as bundle identifier to get rid of warning. + Remove old make_osx_pkg_dirs script, no longer needed because of make target. + Add OSX-Welcome, with information about adding /usr/local/bin to PATH. + Modify Makefile accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@51 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f18e3275f..2077d54db 100644
--- a/Makefile
+++ b/Makefile
@@ -166,7 +166,7 @@ uninstall: uninstall-program
.PHONY: osx-pkg
osx_dest:=osx-pkg
-doc_more:=README.rtf LICENSE.rtf
+doc_more:=README.rtf LICENSE.rtf OSX-Welcome.rtf
cleanup_files+=$(osx_dest) $(doc_more)
osx-pkg: $(osx_dest)
$(osx_dest): $(doc_more)
@@ -180,6 +180,7 @@ $(osx_dest): $(doc_more)
$(INSTALL) -d $(osx_dest)/Resources
mv README.rtf $(osx_dest)/Resources/ReadMe.rtf
mv LICENSE.rtf $(osx_dest)/Resources/License.rtf
+ sed -e 's#@PREFIX@#$(PREFIX)#g' OSX-Welcome.rtf > $(osx_dest)/Resources/Welcome.rtf
sed -e 's/@VERSION@/$(VERSION)/g' Info.plist > $(osx_dest)/Info.plist
cp Description.plist $(osx_dest)/
PackageMaker -build -p Pandoc_$(VERSION).pkg -f $(osx_dest)/Package_root -r $(osx_dest)/Resources -i $(osx_dest)/Info.plist -d $(osx_dest)/Description.plist