projects
/
grml-hwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 0.15.4
[grml-hwinfo.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
33a7a27
..
59664e5
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,7
+9,7
@@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-VERSION:=$(shell dpkg-parsechangelog | awk '/Version: / { print $$2 }')
+include /usr/share/dpkg/pkg-info.mk
build: build-arch build-indep
build: build-arch build-indep
@@
-32,7
+32,7
@@
clean:
install: build
dh_testdir
dh_testroot
install: build
dh_testdir
dh_testroot
- dh_
clean -k
+ dh_
prep
dh_installdirs
# Add here commands to install the package into debian/grml-hwinfo.
dh_installdirs
# Add here commands to install the package into debian/grml-hwinfo.
@@
-50,7
+50,7
@@
binary-indep: build install
dh_installchangelogs
dh_installdocs
dh_installman grml-hwinfo.1 sysdump.8
dh_installchangelogs
dh_installdocs
dh_installman grml-hwinfo.1 sysdump.8
- sed -i -e "s/^VERSION='\*\*\*UNRELEASED\*\*\*'/VERSION='$(VERSION)'/" $(CURDIR)/debian/grml-hwinfo/usr/bin/grml-hwinfo
+ sed -i -e "s/^VERSION='\*\*\*UNRELEASED\*\*\*'/VERSION='$(
DEB_
VERSION)'/" $(CURDIR)/debian/grml-hwinfo/usr/bin/grml-hwinfo
dh_link
dh_strip
dh_compress
dh_link
dh_strip
dh_compress