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 override_dh_auto_build:
13 cp package.json debian/
14 perl -i -pe 's/0.0.0-development/$(DEB_VERSION_UPSTREAM)/' package.json
15
16 override_dh_auto_clean:
17 if test -e debian/package.json; then \
18 mv debian/package.json package.json; \
19 fi
20 dh_auto_clean --buildsystem=nodejs