build-stamp:
dh_testdir
- grep -q "GRML_LIVE_VERSION=.${VERSION}" grml-live || \
+ egrep -q "GRML_LIVE_VERSION=.*UNRELEASED" grml-live || \
(echo "Wrong version in grml-live" && exit 2)
cd docs && $(MAKE) && cd ../
touch $@
dh_installdocs -p$@ -P$(b)/$@
dh_installchangelogs -p$@ -P$(b)/$@
dh_install -p$@ -P$(b)/$@
+ sed -i -e "s/GRML_LIVE_VERSION='\*\*\*UNRELEASED\*\*\*'/GRML_LIVE_VERSION='$(VERSION)'/" $(b)/$@/usr/sbin/grml-live
dh_strip -p$@ -P$(b)/$@
dh_compress -p$@ -P$(b)/$@
mkdir -p $(b)/$(@)/usr/share/lintian/overrides/
# disable for now since it seems to cause some problems
# set -e
+# The line following this line is patched by debian/rules.
+GRML_LIVE_VERSION='***UNRELEASED***'
+
# global variables
-GRML_LIVE_VERSION='0.17.0+autobuild1323909002'
PN="$(basename $0)"
CMDLINE="$0 $@"
ADDONS_LIST_FILE='/boot/isolinux/addons_list.cfg'