From b6a2954d75227fce01af16eef1e38b2d2b4b732d Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Wed, 4 Aug 2010 12:14:13 +0200 Subject: [PATCH] Check version of grml-live against changelog before building --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) 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 $@ -- 2.1.4