]>
Dogcows Code - chaz/openbox/blob - makedeb
3 if test "$1" = "ubuntu"; then
6 if test "$1" = "debian"; then
9 echo "Usage: makedeb [ubuntu|debian]";
14 # get the version from configure.ac
15 VERSION
=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
18 echo "Building deb for openbox-$VERSION-0$APPEND"
21 TIME
="$(date '+%a, %d %B %Y %T %z')"
23 IN
=debian
/changelog.
in
26 # make sure configure gets run with the right parameters
27 make distclean
> /dev
/null
|| rm -f config.status
31 sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION-0$APPEND!" $IN >$OUT && \
32 fakeroot debian
/rules binary
&& \
33 make distclean
> /dev
/null
This page took 0.034035 seconds and 4 git commands to generate.