diff options
Diffstat (limited to 'source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh')
-rwxr-xr-x | source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh index c4f1ce80..5a3690db 100755 --- a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh +++ b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh @@ -8,8 +8,12 @@ VERSION=${VERSION:-$(echo ghostscript-*.tar.?z* | rev | cut -f 3- -d . | cut -f tar xf ghostscript-${VERSION}.tar.xz || exit 1 mv ghostscript-${VERSION}.tar.xz ghostscript-${VERSION}.tar.xz.orig ( cd ghostscript-${VERSION} && rm -rf freetype jpeg lcms2 lcms2art/doc/* libpng libtiff png tiff zlib ) -# Dump this huge PDF: -( cd ghostscript-${VERSION} && find . -name GS9_Color_Management.pdf -exec rm {} \; ) +# Dump huge PDFs: +( cd ghostscript-${VERSION} + find . -name GS9_Color_Management.pdf -exec rm {} \; + rm -f doc/colormanage/figures/*.pdf + rm -f lcms2mt/doc/* +) tar cf ghostscript-${VERSION}.tar ghostscript-${VERSION} rm -r ghostscript-${VERSION} plzip -9 -n 6 ghostscript-${VERSION}.tar |