X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=debian%2Frules;h=2f9a8383d13b694a3b121df995a226f895b1003d;hb=74b165bb1a2b001b52ee01eb56ee3ea59a81d10f;hp=728d44dabcf74268c7a300cab98bb2c3812e7e52;hpb=18a5d80801239856d94fcb4e960c68a4bff93f30;p=anytun.git diff --git a/debian/rules b/debian/rules index 728d44d..2f9a838 100755 --- a/debian/rules +++ b/debian/rules @@ -12,10 +12,13 @@ configure: configure-stamp configure-stamp: dh_testdir - cd src && ./configure --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/anytun/examples && cd .. + cd src && ./configure --no-manpage --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/anytun/examples && cd .. touch configure-stamp -build: build-stamp +build: build-arch build-indep + +build-arch: build-stamp +build-indep: build-stamp build-stamp: configure-stamp dh_testdir @@ -29,11 +32,6 @@ clean: dh_testroot rm -f build-stamp configure-stamp - cd src && $(MAKE) distclean && cd .. - - # drop leftover file: - rm -f src/tun.c - # Add here commands to clean up after the build process. $(MAKE) --directory=$(CURDIR)/src distclean dh_clean @@ -59,6 +57,7 @@ binary-arch: install dh_testroot dh_installchangelogs ChangeLog dh_installdocs + dh_installman doc/anytun.8 doc/anytun-config.8 doc/anytun-controld.8 doc/anytun-showtables.8 dh_installexamples dh_installinit dh_link