debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | include /usr/share/dpkg/pkg-info.mk |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | cp package.json package.json.save |
| 11 | sed -i 's/0.0.0-development/$(DEB_VERSION_UPSTREAM)/' package.json |
| 12 | dh_auto_configure |
| 13 | |
| 14 | override_dh_auto_clean: |
| 15 | dh_auto_clean |
| 16 | -test -e package.json.save && mv package.json.save package.json |
| 17 | |
| 18 | override_dh_auto_test: |
| 19 | # No test during build due to network access |