debian/rules: Spruce up somewhat.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jun 2013 23:04:24 +0000 (00:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 16 Jun 2013 16:35:22 +0000 (17:35 +0100)
debian/rules

index 269f851..4cf60b1 100755 (executable)
@@ -1,9 +1,8 @@
 #! /usr/bin/make -f
 
-BUILDDIR = debian/build
-
-%:; dh $@ --builddirectory=$(BUILDDIR)
+DH_OPTIONS = --parallel -Bdebian/build
+%:; dh $@ $(DH_OPTIONS)
 
 override_dh_auto_install:
-       make -C$(BUILDDIR) install DESTDIR=../cfd/
+       dh_auto_install $(addprefix -O,$(DH_OPTIONS))
        rm -f debian/cfd/usr/share/info/dir