summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2005-11-27 16:21:50 +0000
committerMax Kellermann <max@duempel.org>2005-11-27 16:21:50 +0000
commit5f47da966aa5a69f57997e50d0c6639f072b8e1b (patch)
tree25eeba15817a78f74c434a0e96b162ba14db04fb /debian/rules
downloadconntrack-tools-5f47da966aa5a69f57997e50d0c6639f072b8e1b.tar.gz
conntrack-tools-5f47da966aa5a69f57997e50d0c6639f072b8e1b.zip
first commit
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f3423db
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
+DEB_TARBALL := conntrack-$(UPSTREAM_VERSION).tar.bz2
+DEB_TAR_SRCDIR := conntrack-$(UPSTREAM_VERSION)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/tarball.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp