diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-12 23:01:46 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-12 23:01:46 +0000 |
| commit | 6cc5e44f75376c82e4c354ba8ec0beb7ce849702 (patch) | |
| tree | 37d2761e5286093b1a1b4d5406624700ad1e71bc | |
| parent | a8db8a0af958237e1e473319a182f41514e9b407 (diff) | |
blah
| -rwxr-xr-x | makedeb | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |
