X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=makedeb;fp=makedeb;h=78d09d44a57807ce23673d5e19be65e1bcee83b6;hb=6cc5e44f75376c82e4c354ba8ec0beb7ce849702;hp=7918d91caf3e782494a905383a03d490ae50202d;hpb=a8db8a0af958237e1e473319a182f41514e9b407;p=chaz%2Fopenbox diff --git a/makedeb b/makedeb index 7918d91c..78d09d44 100755 --- a/makedeb +++ b/makedeb @@ -1,17 +1,20 @@ -#!/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 "Building deb for openbox-$VERSION" + 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