File: rules

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

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

%:
	dh $@

override_dh_auto_configure:
	cp package.json package.json.save
	sed -i 's/0.0.0-development/$(DEB_VERSION_UPSTREAM)/' package.json
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean
	-test -e package.json.save && mv package.json.save package.json

override_dh_auto_test:
	# No test during build due to network access