Use dh_installdirs
authorAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 16:14:47 +0000 (18:14 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:14:59 +0000 (19:14 +0200)
debian/dirs [new file with mode: 0644]
debian/rules

diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
index a92ecf6ae79d2a9eaa42e280eaa472f41395f966..6736aa86c5b4e073ae5b192f8717ee9adf7bc74c 100755 (executable)
@@ -53,9 +53,7 @@ binary-arch: build
 # Makes a binary package.
        /bin/rm -rf debian/tmp
        test -f stamp-build || $(MAKE) -f debian/rules build
-       install -d -g root -m 755 -o root debian/tmp
-       chmod g-s debian/tmp
-       install -d -g root -m 755 -o root debian/tmp/DEBIAN
+       dh_installdirs
        dh_install
        dh_strip
        dh_installman