Debian Codegraph @

debian/rules

raw
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 execute_before_dh_clean:
13 if test -e debian/package.json; then mv debian/package.json .; fi
14
15 execute_before_dh_auto_build:
16 cp package.json debian/
17 sed -E -i 's/0.0.0-development/$(DEB_VERSION_UPSTREAM)/' package.json
18
19 execute_after_dh_installdocs:
20 dh_nodejs_autodocs
21