From d3c7eff53d8dddbd7a373a7896b5accb2eb32e59 Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 25 Feb 2010 20:14:10 +0000 Subject: [PATCH] Oops. Debian users might like documentation as well. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@157 632fc199-4ca6-4c93-a231-07263d6284db --- release/makedpkg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/release/makedpkg b/release/makedpkg index e6bf0f1..34da6f7 100644 --- a/release/makedpkg +++ b/release/makedpkg @@ -49,6 +49,12 @@ mv $TMPDIR/opt/$PACKAGE_NAME/$__LIB/libturbojpeg.* $TMPDIR/usr/$__LIB /sbin/ldconfig -n $TMPDIR/usr/$__LIB mkdir -p $TMPDIR/usr/include mv $TMPDIR/opt/$PACKAGE_NAME/include/turbojpeg.h $TMPDIR/usr/include +mkdir -p $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION +install -m 644 $SRCDIR/LICENSE.txt $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION +install -m 644 $SRCDIR/LGPL.txt $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION +install -m 644 $SRCDIR/README-turbo.txt $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION +install -m 644 $SRCDIR/README $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION +install -m 644 $SRCDIR/libjpeg.doc $TMPDIR/usr/share/doc/$PACKAGE_NAME-$VERSION sudo chown -Rh root:root $TMPDIR/* dpkg -b $TMPDIR $PACKAGE_NAME\_$DEBARCH.deb -- 2.40.0