X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=277a9119f4951fb8845ca9f3e92daff3b7077028;hp=19b0b99b37161b01254088bb96aa1f8e843a1c9b;hb=b6a2954d75227fce01af16eef1e38b2d2b4b732d;hpb=6183f67eb66b52bd7efea106bfeb4dc3f0c0f5f9 diff --git a/debian/rules b/debian/rules index 19b0b99..277a911 100755 --- a/debian/rules +++ b/debian/rules @@ -10,11 +10,14 @@ #export DH_VERBOSE=1 b=$(CURDIR)/debian/build +VERSION:=$(shell dpkg-parsechangelog | awk '/Version: / { print $$2 }') build: build-stamp build-stamp: dh_testdir + grep -q "GRML_LIVE_VERSION=.${VERSION}" grml-live || \ + (echo "Wrong version in grml-live" && exit 2) cd docs && $(MAKE) && cd ../ touch $@