diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2011-10-20 17:02:32 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2011-10-21 16:13:31 +0200 |
commit | 13ba330355cc1b997a273d97afcce932f11c423d (patch) | |
tree | ededa9404866396f609cea5a855b8317f0c459dc /debian/rules | |
parent | 128f52bd7415a426a6c3afa688789bd62d9f6c88 (diff) |
Added debian/ and CHANGELOG for 20091227-2 package version
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..61376f3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +%: + dh $@ + +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') +TARBALL = woof_$(SRC_VERSION).orig.tar.gz +.PHONY: get-orig-source +get-orig-source: + rm -rf get-orig-source $(TARBALL) + mkdir -p get-orig-source/woof_$(SRC_VERSION) + cp CHANGELOG get-orig-source/woof_$(SRC_VERSION)/ + wget -O get-orig-source/woof_$(SRC_VERSION)/woof http://www.home.unix-ag.org/simon/woof + chmod +x get-orig-source/woof_$(SRC_VERSION)/woof + GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source woof_$(SRC_VERSION) + rm -rf get-orig-source |