aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-18 14:34:46 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-18 14:34:46 -0700
commit995d17353b1e8841bc25ca4731959b6d8f64f50e (patch)
treed9f5159e6e714d759c380c9741f53a7950867d4a
parent7cac58f126402fd965a9a027e13a1cc3446512d9 (diff)
downloadpandoc-995d17353b1e8841bc25ca4731959b6d8f64f50e.tar.gz
make_macos_package.sh: use strip to reduce executable size.
-rwxr-xr-xmacos/make_macos_package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/macos/make_macos_package.sh b/macos/make_macos_package.sh
index f49b6a81b..f5262e1d5 100755
--- a/macos/make_macos_package.sh
+++ b/macos/make_macos_package.sh
@@ -30,6 +30,9 @@ echo Building pandoc...
stack clean
stack install --stack-yaml=stack.pkg.yaml --local-bin-path $DEST/bin/ pandoc pandoc-citeproc
+strip $DEST/bin/pandoc
+strip $DEST/bin/pandoc-citeproc
+
echo Getting man pages...
make man/pandoc.1