X-Git-Url: https://git.syn-net.org/?a=blobdiff_plain;f=debian%2Frules;h=2b6b62bfbc713013726a7804f9ad3d94c37fe6e3;hb=4056e2f18a8438e493890b5222038009914f6182;hp=a259e2e01d2dcfd5f6c564355e388283bf3613af;hpb=d557d84876bb01fdebecff6d698e8c728b7caaba;p=debian%2Fuanytun.git diff --git a/debian/rules b/debian/rules index a259e2e..2b6b62b 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ configure: configure-stamp configure-stamp: dh_testdir - cd src && ./configure --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd .. + cd src && ./configure --no-manpage --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd .. touch configure-stamp build: build-stamp @@ -21,7 +21,6 @@ build-stamp: configure-stamp dh_testdir cd src && $(MAKE) && cd .. - cd doc && $(MAKE) && cd .. touch $@ @@ -30,12 +29,6 @@ clean: dh_testroot rm -f build-stamp configure-stamp - cd src && $(MAKE) distclean && cd .. - cd doc && $(MAKE) clean && 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 @@ -49,6 +42,7 @@ install: build cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/uanytun install && cd .. # Fix unusual path: mv debian/uanytun/usr/share/uanytun/examples/uanytun debian/uanytun/usr/share/uanytun/examples/config + echo "example configurations can be found at /usr/share/uanytun/examples/config" > debian/uanytun/etc/uanytun/README # Build architecture-independent files here. binary-indep: install @@ -66,7 +60,7 @@ binary-arch: install dh_link dh_strip dh_compress - mkdir -p debian/uanytun/usr/share/lintian/overrides/ + mkdir -p debian/uanytun/usr/share/lintian/overrides/ cp -av debian/overrides debian/uanytun/usr/share/lintian/overrides/uanytun dh_fixperms find debian/uanytun -type f -name config -exec chmod 600 {} \;