projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6183f67
)
Check version of grml-live against changelog before building
author
Ulrich Dangel
<uli@spamt.net>
Wed, 4 Aug 2010 10:14:13 +0000
(12:14 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 7 Sep 2010 23:46:55 +0000
(
01:46
+0200)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
19b0b99
..
277a911
100755
(executable)
--- 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 $@