projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8db8a0
)
blah
author
Dana Jansens
<danakj@orodu.net>
Sat, 12 May 2007 23:01:46 +0000
(23:01 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 12 May 2007 23:01:46 +0000
(23:01 +0000)
makedeb
patch
|
blob
|
history
diff --git
a/makedeb
b/makedeb
index
7918d91
..
78d09d4
100755
(executable)
--- 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)
# 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
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 && \
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