File: rules

package info (click to toggle)
node-propagate 2.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 404 kB
  • sloc: javascript: 190; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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