* debian/install: add new bti-shrink-urls.
[debian/bti.git] / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/quilt/quilt.make
4
5 build: build-stamp
6 build-stamp: $(QUILT_STAMPFN)
7         dh build
8         touch $@
9
10 clean: unpatch
11         dh $@
12
13 install: install-stamp
14 install-stamp: build-stamp
15         dh install --before dh_auto_install
16         xmlto -o $(CURDIR)/debian man debian/bti-shrink-urls.xml
17         dh install --after dh_auto_install
18         mv debian/bti/etc/bash_completion.d/bti-bashcompletion debian/bti/etc/bash_completion.d/bti
19         touch $@
20
21 binary-arch: install
22         dh $@
23
24 binary-indep:
25
26 binary: binary-arch binary-indep
27
28 .PHONY: binary binary-arch binary-indep install clean build