diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-18 14:37:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-18 14:37:44 -0700 |
commit | fbb79c1bcdefb72fbe91dc95ca2e10002c3d5c45 (patch) | |
tree | fa7a4158dd8cfe66362aab2d5e3a5873d92762de /linux | |
parent | 995d17353b1e8841bc25ca4731959b6d8f64f50e (diff) | |
download | pandoc-fbb79c1bcdefb72fbe91dc95ca2e10002c3d5c45.tar.gz |
Strip executables in linux package.
Diffstat (limited to 'linux')
-rwxr-xr-x | linux/make_deb.sh | 2 | ||||
-rw-r--r-- | linux/make_tarball.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/linux/make_deb.sh b/linux/make_deb.sh index 3510ce6c4..9ef191ad4 100755 --- a/linux/make_deb.sh +++ b/linux/make_deb.sh @@ -29,6 +29,8 @@ mkdir -p $DEST/share/doc/pandoc-citeproc find $DIST -type d | xargs chmod 755 cp $ARTIFACTS/pandoc $DEST/bin/ cp $ARTIFACTS/pandoc-citeproc $DEST/bin/ +strip $DEST/bin/pandoc +strip $DEST/bin/pandoc-citeproc cp man/pandoc.1 $DEST/share/man/man1/pandoc.1 /artifacts/pandoc-citeproc --man > $DEST/share/man/man1/pandoc-citeproc.1 gzip -9 $DEST/share/man/man1/pandoc.1 diff --git a/linux/make_tarball.sh b/linux/make_tarball.sh index fe520a3d8..28c0b9b7f 100644 --- a/linux/make_tarball.sh +++ b/linux/make_tarball.sh @@ -10,6 +10,8 @@ mkdir $TARGET/bin $TARGET/share $TARGET/share/man $TARGET/share/man/man1 ./pandoc-citeproc --man > $TARGET/share/man/man1/pandoc-citeproc.1 cp /usr/src/pandoc/man/pandoc.1 $TARGET/share/man/man1 mv pandoc pandoc-citeproc $TARGET/bin +strip $TARGET/bin/pandoc +strip $TARGET/bin/pandoc-citeproc gzip -9 $TARGET/share/man/man1/pandoc.1 gzip -9 $TARGET/share/man/man1/pandoc-citeproc.1 tar cvzf $TARGET.tar.gz $TARGET |