| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
# Fix versions and homepage of components |
| 13 |
override_dh_gencontrol: |
| 14 |
dh_gencontrol -pnode-theming -- -v$(DEB_VERSION) |
| 15 |
dh_gencontrol -pnode-react-display-name -- \ |
| 16 |
-v$(shell pkgjs-pjson react-display-name version)~$(DEB_VERSION) \ |
| 17 |
-DHomepage=https://github.com/jurassix/react-display-name |
| 18 |
dh_gencontrol -pnode-tiny-warning -- \ |
| 19 |
-v$(shell pkgjs-pjson tiny-warning version)~$(DEB_VERSION) \ |
| 20 |
-DHomepage=https://github.com/alexreardon/tiny-warning |
| 21 |
|
| 22 |
override_dh_installdocs: |
| 23 |
dh_installdocs |
| 24 |
dh_nodejs_autodocs auto_dispatch |
| 25 |
|
| 26 |
# Drop bad changelog files for components |
| 27 |
override_dh_installchangelogs: |
| 28 |
dh_installchangelogs |
| 29 |
rm -f debian/node-react-display-name/usr/share/doc/node-react-display-name/changelog |
| 30 |
rm -f debian/node-tiny-warning/usr/share/doc/node-tiny-warning/changelog |