| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_build: mqtt.1 |
| 11 |
dh_auto_build --buildsystem=nodejs |
| 12 |
|
| 13 |
override_dh_auto_test: |
| 14 |
# autopkgtest only |
| 15 |
|
| 16 |
override_dh_fixperms: |
| 17 |
dh_fixperms |
| 18 |
chmod +x $(CURDIR)/debian/node-mqtt/usr/share/nodejs/mqtt/bin/mqtt.js |
| 19 |
chmod +x $(CURDIR)/debian/node-mqtt/usr/share/nodejs/mqtt/bin/pub.js |
| 20 |
chmod +x $(CURDIR)/debian/node-mqtt/usr/share/nodejs/mqtt/bin/sub.js |
| 21 |
|
| 22 |
override_dh_auto_clean: |
| 23 |
$(CURDIR)/debian/tests/generatecert.sh unpatch |
| 24 |
dh_auto_clean --buildsystem=nodejs |
| 25 |
|
| 26 |
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl |
| 27 |
XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" |
| 28 |
|
| 29 |
mqtt.1: debian/mqtt.1.xml |
| 30 |
$(XP) $(DB2MAN) $< |