From 2d128f7349a86610e308e6952cbd3b4e61b035ea Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 31 Oct 2006 17:19:25 +0000 Subject: 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 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3