Removed the control file for the debian package, since it is now
authorFrancois Fleuret <francois@fleuret.org>
Sat, 14 Mar 2009 18:17:12 +0000 (19:17 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 14 Mar 2009 18:17:12 +0000 (19:17 +0100)
generated by the mkdeb.sh script. Cosmetic changes in the latter.

debian/DEBIAN/control [deleted file]
mkdeb.sh

diff --git a/debian/DEBIAN/control b/debian/DEBIAN/control
deleted file mode 100644 (file)
index 860d4a0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Package: selector
-Version: 1.0
-Priority: optional
-Maintainer: Francois Fleuret <francois@fleuret.org>
-Architecture: i386
-Depends: libncurses5, libstdc++6, libc6, libgcc1
-Description: A command line dynamic string-matching.
index b0ec56b..415678b 100755 (executable)
--- 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}