From bfd4b0ba81b348e616290deadccd9fa563879126 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 14 Mar 2009 19:17:12 +0100 Subject: [PATCH] Removed the control file for the debian package, since it is now generated by the mkdeb.sh script. Cosmetic changes in the latter. --- debian/DEBIAN/control | 7 ------- mkdeb.sh | 7 ++++++- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 debian/DEBIAN/control diff --git a/debian/DEBIAN/control b/debian/DEBIAN/control deleted file mode 100644 index 860d4a0..0000000 --- a/debian/DEBIAN/control +++ /dev/null @@ -1,7 +0,0 @@ -Package: selector -Version: 1.0 -Priority: optional -Maintainer: Francois Fleuret -Architecture: i386 -Depends: libncurses5, libstdc++6, libc6, libgcc1 -Description: A command line dynamic string-matching. diff --git a/mkdeb.sh b/mkdeb.sh index b0ec56b..415678b 100755 --- a/mkdeb.sh +++ b/mkdeb.sh @@ -1,5 +1,7 @@ #!/bin/bash +# Depends: ${shlibs:Depends} + # # selector is a simple shell command for selection of strings with a # dynamic pattern-matching. @@ -26,6 +28,7 @@ # probably not very conventional. I am open to suggestions. VERSION=1.0 +PACKAGE=/tmp/selector_${VERSION}_i386.deb make -k @@ -58,6 +61,8 @@ cp ./selector ${TMP}/usr/bin cp ./selector.1 ${TMP}/usr/share/man/man1 gzip ${TMP}/usr/share/man/man1/selector.1 -dpkg-deb --build ${TMP} /tmp/selector_${VERSION}_i386.deb +dpkg-deb --build ${TMP} ${PACKAGE} + +dpkg --contents ${PACKAGE} rm -rf ${TMP} -- 2.39.5