release 0.18.3
[grml-live-grml.git] / debian / rules
index 9f05b02..a0ebff3 100755 (executable)
@@ -9,41 +9,38 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build: build-stamp
+build: build-arch build-indep
+
+build-arch: build-stamp
+
+build-indep: build-stamp
 
 build-stamp:
        dh_testdir
-
        touch $@
 
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
+       rm -f build-stamp
 
-       dh_clean 
+       dh_clean
+       # clean up the stuff dh_clean leaves behind
+       -rm -rf debian/build
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
-       dh_installdirs usr/sbin
-
-       # Add here commands to install the package into debian/grml-live.
-       install ... debian/grml-live/usr/sbin/
+       dh_prep
+       dh_installdirs
 
 # 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 
+       dh_install
+       dh_installchangelogs
        dh_installdocs
-       dh_installexamples
-       dh_installman
        dh_link
        dh_strip
        dh_compress