summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2012-12-01 12:43:50 +0000
committerRussell King <rmk@arm.linux.org.uk>2012-12-01 12:44:37 +0000
commita8d9753c3cdf60fa561301f0d9e82c1010d59d8a (patch)
treef59fbe6e1211035fa4b8a25d1e2bb67e3a693b42
parentd84c524a6efb7ac45b6d854d832dc2e1d9113bde (diff)
Fix up debian build rules
Use the built-in autoreconf support, and build in separate directory
-rwxr-xr-xdebian/rules12
1 files changed, 1 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index 1ab3fdd..ced92e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,16 +9,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# Debian build system is horrid - hack around it to ensure that the autoconf
-# stuff is properly up to date
-build: configure Makefile.in
-
-Makefile.in: Makefile.am
- ./autogen.sh
-
-configure: autogen.sh configure.ac
- ./autogen.sh
-
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
@@ -31,4 +21,4 @@ override_dh_strip:
dh_strip -s --remaining-packages
%:
- dh $@
+ dh $@ --with autoreconf --builddirectory=build/