X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=makedeb;h=9687ccd47256a6c85e84bb8e40ce40206411e0a8;hb=47c8d407295bd910b2482f472d0a7e3892031647;hp=7918d91caf3e782494a905383a03d490ae50202d;hpb=b7341b136a1374cd29e27eb9a69797142ff4258a;p=chaz%2Fopenbox diff --git a/makedeb b/makedeb index 7918d91c..9687ccd4 100755 --- a/makedeb +++ b/makedeb @@ -1,17 +1,22 @@ -#!/bin/sh -x +#!/bin/sh # get the version from configure.ac VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1) +echo +echo "Building deb for openbox-$VERSION" +echo + TIME="$(date '+%a, %d %B %Y %T %z')" IN=debian/changelog.in OUT=debian/changelog # make sure configure gets run with the right parameters -make distclean || rm -f config.status +make distclean > /dev/null || rm -f config.status rm -f $OUT sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \ -fakeroot debian/rules binary +fakeroot debian/rules binary && \ +make distclean > /dev/null