[beast: 18/41] MISC: make-deb.sh: move copyright and changelog.Debian.gz into Beast <package> dir



commit b81ea2476e91d59007702f490105329b92c2b33e
Author: Tim Janik <timj gnu org>
Date:   Tue Jun 13 23:36:33 2017 +0200

    MISC: make-deb.sh: move copyright and changelog.Debian.gz into Beast <package> dir
    
    Signed-off-by: Tim Janik <timj gnu org>

 misc/make-deb.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/misc/make-deb.sh b/misc/make-deb.sh
index 98ce4f2..4cc8298 100755
--- a/misc/make-deb.sh
+++ b/misc/make-deb.sh
@@ -49,6 +49,7 @@ PREFIX=/opt
 BEASTDIR=$PREFIX/$(misc/mkbuildid.sh -p | sed -r 's/^([0-9]+)\.([0-9]+).*/beast-\1-\2/')
 DESTDIR=`pwd`/tmpdeb/destdir
 RAPICORNPREFIXDIR=$DESTDIR$BEASTDIR
+DEBDOCDIR=$DESTDIR$BEASTDIR/doc
 DEBIAN=$DESTDIR/DEBIAN
 rm -rf $DEBIAN
 mkdir -p $DEBIAN
@@ -138,7 +139,6 @@ __EOF
 echo -n >$DEBIAN/conffiles
 
 # /opt/share/doc/$NAME/
-DEBDOCDIR=$DEBIAN/../opt/share/doc/$NAME/
 mkdir -p $DEBDOCDIR
 
 # changelog.Debian.gz
@@ -154,7 +154,7 @@ for msg in \
   DCHCREATE=
 done
 dch -c $DEBCHANGELOG -D stable -r ""
-gzip -9 $DEBCHANGELOG
+gzip --best $DEBCHANGELOG
 
 # copyright
 cp debian/copyright $DEBDOCDIR


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]