X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=28f5ae07c83e3199827be9dbf207f52103f640f7;hb=f0e92ec2f8bb445be008f5676e0e1b2c5a32796a;hp=96d6e2036d38b1e753bab3e13d0bd50face6957f;hpb=a83e3825511532c96dd400447f2e0cc5e89600dd;p=grml-network.git diff --git a/debian/rules b/debian/rules index 96d6e20..28f5ae0 100755 --- a/debian/rules +++ b/debian/rules @@ -13,16 +13,14 @@ build: build-stamp build-stamp: dh_testdir + ( cd docs && $(MAKE) ) touch $@ clean: dh_testdir dh_testroot + ( cd docs && $(MAKE) clean ) rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) clean - dh_clean install: build @@ -35,12 +33,14 @@ install: build 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