sysdump: ignore files inside /sys/kernel/debug to avoid hanging
[grml-hwinfo.git] / debian / rules
index e793978..8a58740 100755 (executable)
 
 VERSION:=$(shell dpkg-parsechangelog | awk '/Version: / { print $$2 }')
 
+build: build-arch build-indep
 
-build: build-stamp
+build-arch: build-stamp
+
+build-indep: build-stamp
 
 build-stamp:
        dh_testdir
        egrep -q "^VERSION=.*UNRELEASED" grml-hwinfo || \
          (echo "Wrong version in grml-hwinfo" && exit 2)
-
        touch build-stamp
 
 clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
-
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
+       dh_prep
        dh_installdirs
 
        # Add here commands to install the package into debian/grml-hwinfo.