4VERSION=$(grep -e '^Version' pandoc.cabal | awk '{print $2}')
5RESOURCES=$DIST/Resources
11echo Removing old files...
15echo Building pandoc...
17cabal-dev install --reinstall --force-reinstalls --flags="embed_data_files" citeproc-hs
18cabal-dev configure --prefix=/usr/local --datasubdir=$BASE --docdir=/usr/local/doc/$BASE
20cabal-dev copy --destdir=$ROOT
22rm -r $ROOT/usr/local/lib
23chown -R $ME:staff $DIST
25gzip $ROOT/usr/local/share/man/man?/*.*
26# cabal gives man pages the wrong permissions
27chmod +r $ROOT/usr/local/share/man/man?/*.*
29echo Copying license...
30cp COPYING $RESOURCES/License.txt
32PACKAGEMAKER=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
34echo Creating OSX package...
38 --id net.johnmacfarlane.pandoc \
39 --resources $RESOURCES \
45echo Creating disk image...
47sudo hdiutil create "$BASE.dmg" \
49 -volname "pandoc $VERSION" \
51sudo hdiutil internet-enable "$BASE.dmg"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list