add debian rules
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 31 Oct 2011 20:35:03 +0000 (20:35 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 31 Oct 2011 20:35:03 +0000 (20:35 +0000)
id-release

index 8462c78..b069ff3 100755 (executable)
@@ -3,6 +3,8 @@
 # Author: Wolfram Schneider
 #
 # id-release - a helper script to build a release & packaging for debian + redhat
+#
+# see http://twiki.indexdata.dk/cgi-bin/twiki/view/ID/IDSoftwareRelease
 
 # die early
 set -e
@@ -69,10 +71,20 @@ fi
 ######################################################################
 echo ""
 echo "# On RedHat or centos, please run the commands"
-echo "$HOME/proj/git-tools/id-deb-build/mkdist.sh"
+echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh"
 echo "sudo cp $package-$version.tar.gz /usr/src/redhat/SOURCES/"
 echo "sudo rpmbuild -ba $spec"
-echo "$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
+echo "\$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
 echo "# on kebab run update-yum-archive.sh"
 
 
+######################################################################
+echo ""
+echo "# On debian or ubuntu, please run the commands"
+echo "sudo rm -rf deb-src"
+echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh"
+echo "\$HOME/proj/git-tools/id-deb-build/id-mk-deb-src.sh"
+echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh"
+echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload"
+
+