blah
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
3 deletions(-)
jump to
M
makedeb
→
makedeb
@@ -1,7 +1,9 @@
-#!/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')"@@ -9,9 +11,10 @@ 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