X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=22565d2466133ff4d2e86134110e4554b969a1b5;hb=80d07bb5f7b87a990da936f1c3857991187fd709;hp=96d6e2036d38b1e753bab3e13d0bd50face6957f;hpb=a83e3825511532c96dd400447f2e0cc5e89600dd;p=grml-network.git diff --git a/debian/rules b/debian/rules index 96d6e20..22565d2 100755 --- a/debian/rules +++ b/debian/rules @@ -13,34 +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 - - # Add here commands to clean up after the build process. - -$(MAKE) clean - 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