| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
override_dh_clean: |
| 8 |
dpkg-parsechangelog| sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p' \ |
| 9 |
> $(CURDIR)/version |
| 10 |
dh_clean |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -- --with-external-expat --with-external-boost |
| 14 |
echo > $(CURDIR)/version |
| 15 |
|
| 16 |
override_dh_installchangelogs: |
| 17 |
dh_installchangelogs NEWS |
| 18 |
|
| 19 |
%: |
| 20 |
dh $@ --with autoreconf |
| 21 |
|
| 22 |
.PHONY: override_dh_clean override_dh_auto_configure \ |
| 23 |
override_dh_installchangelogs |