Merge branch 'upstream' for new release 2.1
[debian/pino.git] / debian / rules
1 #!/usr/bin/make -f
2
3 CMD=$(shell echo $@ | sed 's/override_//')
4
5 %:
6         dh $@
7
8 WAF=./waf
9
10 override_dh_auto_clean:
11         $(WAF) --nocache distclean
12         rm -rf _build_
13         dh_auto_clean
14
15 override_dh_auto_configure:
16         $(WAF) --nocache configure --prefix /usr
17
18 override_dh_auto_build:
19         $(WAF) --nocache build
20
21 override_dh_auto_install:
22         $(WAF) --nocache install --destdir=$(CURDIR)/debian/pino
23         rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/INSTALL
24         rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/COPYING