mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 01:06:30 +00:00
Strip executables in linux package.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user