Release new version 0.11.0
[grml-network.git] / debian / rules
index 176e405..22565d2 100755 (executable)
@@ -13,30 +13,34 @@ build: build-stamp
 
 build-stamp:
        dh_testdir
+       ( cd docs && $(MAKE) )
        touch $@
 
 clean:
        dh_testdir
        dh_testroot
+       ( cd docs && $(MAKE) clean )
        rm -f build-stamp
        dh_clean 
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_prep
        dh_installdirs usr/sbin etc/grml
 
        install -m 755 sbin/*        debian/grml-network/usr/sbin/
        install -m 644 net-functions debian/grml-network/etc/grml/
        install -m 644 routersetup   debian/grml-network/etc/grml/
 
+       ( cd docs && $(MAKE) install DESTDIR=../debian/grml-network )
+
 # Build architecture-independent files here.
-binary-indep: build install
+binary-arch: build install
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-indep: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs