From: Francois Fleuret Date: Sat, 14 Mar 2009 10:46:47 +0000 (+0100) Subject: Added an apology in the comments. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=ab0c1dd02ae593bd9640f4def4470e29e8706531;p=selector.git Added an apology in the comments. --- diff --git a/mkdeb.sh b/mkdeb.sh index 3464f29..b0ec56b 100755 --- a/mkdeb.sh +++ b/mkdeb.sh @@ -22,6 +22,9 @@ # along with selector. If not, see . # +# This script creates the Debian package. The way it does it is +# probably not very conventional. I am open to suggestions. + VERSION=1.0 make -k @@ -32,9 +35,8 @@ for d in DEBIAN usr/bin usr/share/man/man1; do mkdir -p ${TMP}/${d} done -# for l in `ldd selector | grep "=> /" | awk '{print $3}'`; do - # dpkg -S $l -# done | cut -f 1 -d: | sort | uniq +# LIBS=`ldd selector | grep "=> /" | awk '{print $3}'` +# DEPS=`for l in ${LIBS}; do dpkg -S $l; done | cut -f 1 -d: | sort | uniq` cat > ${TMP}/DEBIAN/control <