File: rules

package info (click to toggle)
node-har-schema 2.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: javascript: 33; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	cp package.json debian/
	perl -i -pe 's/0.0.0-development/$(DEB_VERSION_UPSTREAM)/' package.json

override_dh_auto_clean:
	if test -e debian/package.json; then \
		mv debian/package.json package.json; \
	fi
	dh_auto_clean --buildsystem=nodejs