summaryrefslogtreecommitdiff
path: root/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh')
-rwxr-xr-xsource/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh2
1 files changed, 2 insertions, 0 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 0f28fe3f..c4f1ce80 100755
--- a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
+++ b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
@@ -8,6 +8,8 @@ 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 {} \; )
tar cf ghostscript-${VERSION}.tar ghostscript-${VERSION}
rm -r ghostscript-${VERSION}
plzip -9 -n 6 ghostscript-${VERSION}.tar