upstream uses autoconf, adjust debian/rules and debian/install, remove
[debian/bti.git] / debian / rules
index a6c48c2..b7dc779 100755 (executable)
@@ -4,7 +4,10 @@ include /usr/share/quilt/quilt.make
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-       dh build
+       dh build --before dh_auto_build
+       [ -f bti.1 ] || xmlto man bti.xml
+       [ -f bti-shrink-urls.1 ] || xmlto man bti-shrink-urls.xml
+       dh build --remaining
        touch $@
 
 clean: unpatch