summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <bugzilla@tut.by>2012-08-15 22:21:29 +0200
committerAndrew Shadura <bugzilla@tut.by>2012-08-15 22:21:29 +0200
commit741f3e4371c794ae89af77131280533e559bbe35 (patch)
tree61ccd858d07b1fc21a4b73749063cd164ca546a9
parent02bc804b997f43ea112002310775e3238d218992 (diff)
Use short form of dh9.
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rw-r--r--debian/install1
-rwxr-xr-xdebian/rules64
4 files changed, 5 insertions, 64 deletions
diff --git a/debian/compat b/debian/compat
index b8626c4..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+9
diff --git a/debian/control b/debian/control
index 78be616..7c0cc3c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: nat-traverse
Section: net
Priority: optional
Maintainer: Michael Prokop <mika@grml.org>
-Build-Depends: debhelper (>= 4.0.0)
Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 9)
Package: nat-traverse
Architecture: any
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..b711788
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+nat-traverse /usr/bin
diff --git a/debian/rules b/debian/rules
index 6424430..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,64 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-configure-stamp:
- dh_testdir
-
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/nat-traverse.
- install -m 755 nat-traverse debian/nat-traverse/usr/bin/
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installman nat-traverse.1
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@