X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=debian%2Frules;h=277a9119f4951fb8845ca9f3e92daff3b7077028;hp=19b0b99b37161b01254088bb96aa1f8e843a1c9b;hb=dc9f2f57808d49fa70f119f9cb224ce884602c54;hpb=bbc4b9db068e7ed536161680c84fbed328ddb3af 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 $@