projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
[selector.git]
/
mkdeb.sh
diff --git
a/mkdeb.sh
b/mkdeb.sh
index
b0ec56b
..
fa3a029
100755
(executable)
--- a/
mkdeb.sh
+++ b/
mkdeb.sh
@@
-25,7
+25,10
@@
# This script creates the Debian package. The way it does it is
# probably not very conventional. I am open to suggestions.
# This script creates the Debian package. The way it does it is
# probably not very conventional. I am open to suggestions.
+# Depends: ${shlibs:Depends}
+
VERSION=1.0
VERSION=1.0
+PACKAGE=/tmp/selector_${VERSION}_i386.deb
make -k
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
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}
rm -rf ${TMP}