X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=90deb4b6ee612bd99c11734e376b3782f291ce1d;hb=HEAD;hp=35b8226ec323c0afd9c94275d01c06cd38090b00;hpb=4f996fad13e812a6fdc820ee4a45f6609586bc06;p=onis.git diff --git a/debian/rules b/debian/rules index 35b8226..90deb4b 100755 --- a/debian/rules +++ b/debian/rules @@ -23,10 +23,8 @@ endif configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. - - patch -p1 onis.1 - + pod2man -r "$(egrep '^\$VERSION' onis | cut -d \' -f 2)" onis >onis.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - #-$(MAKE) clean - + if [ -e onis.1 ]; then rm -f onis.1; fi + if [ -e patch-stamp ]; then patch -p1 -R