aboutsummaryrefslogtreecommitdiff
path: root/make_osx_pkg_dirs
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 /make_osx_pkg_dirs
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 'make_osx_pkg_dirs')
-rwxr-xr-xmake_osx_pkg_dirs43
1 files changed, 0 insertions, 43 deletions
diff --git a/make_osx_pkg_dirs b/make_osx_pkg_dirs
deleted file mode 100755
index 3671f04a8..000000000
--- a/make_osx_pkg_dirs
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh -e
-# make directories for a Mac OSX package
-
-# WARNING: This isn't finished. Don't use it yet!
-# Need to fix permissions & ownerships. See
-# http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html
-# Also, think about where to put these files. I'm not sure /usr/local/bin
-# is in the path by default in OSX.
-
-PANDOC="pandoc"
-EXECUTABLES="pandoc markdown2html html2markdown markdown2latex latex2markdown markdown2pdf"
-DOCS="README README.html BUGS TODO"
-MAN_PAGES=$(echo "$EXECUTABLES" | sed -e 's#\([^ ]*\)#man/man1/\1\.1#g')
-
-make # make sure the executables have been built
-make README.html
-make test
-
-rm -rf osx-pkg # remove old package directories
-mkdir osx-pkg
-mkdir osx-pkg/Resources
-mkdir osx-pkg/Package_Root
-mkdir osx-pkg/Package_Root/usr
-mkdir osx-pkg/Package_Root/usr/local
-mkdir osx-pkg/Package_Root/usr/local/bin
-mkdir osx-pkg/Package_Root/usr/local/share
-mkdir osx-pkg/Package_Root/usr/local/share/doc
-mkdir osx-pkg/Package_Root/usr/local/share/doc/pandoc
-mkdir osx-pkg/Package_Root/usr/local/man
-mkdir osx-pkg/Package_Root/usr/local/man/man1
-$PANDOC -s -w rtf README > osx-pkg/Resources/ReadMe.rtf
-$PANDOC -s -w rtf LICENSE > osx-pkg/Resources/License.rtf
-chmod +x $EXECUTABLES
-cp $EXECUTABLES osx-pkg/Package_Root/usr/local/bin/
-cp $DOCS osx-pkg/Package_Root/usr/local/share/doc/pandoc/
-cp $MAN_PAGES osx-pkg/Package_Root/usr/local/man/man1/
-
-echo
-echo "You may now run PackageMaker.app. For Root, specify"
-echo "osx-pkg/Package_Root. The ReadMe.rtf and License.rtf files"
-echo "can be found in osx-pkg/Resources."
-echo
-