@@ -1,10 +1,16 @@
1#!/bin/sh -e
1#!/bin/sh -e
2# make directories for a Mac OSX package
2# make directories for a Mac OSX package
4+# WARNING: This isn't finished. Don't use it yet!
5+# Need to fix permissions & ownerships. See
6+# http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html
7+# Also, think about where to put these files. I'm not sure /usr/local/bin
8+# is in the path by default in OSX.
4PANDOC="pandoc"
10PANDOC="pandoc"
5EXECUTABLES="pandoc markdown2html html2markdown markdown2latex latex2markdown markdown2pdf"
11EXECUTABLES="pandoc markdown2html html2markdown markdown2latex latex2markdown markdown2pdf"
6DOCS="README README.html BUGS TODO"
12DOCS="README README.html BUGS TODO"
7−MAN_PAGES=$(echo "$EXECUTABLES" | sed -e 's#\([^ ]*\)/\/man\/man1\/#\1#g')
13+MAN_PAGES=$(echo "$EXECUTABLES" | sed -e 's#\([^ ]*\)#man/man1/\1\.1#g')
9make # make sure the executables have been built
15make # make sure the executables have been built
10make README.html
16make README.html