File: rules

package info (click to toggle)
node-execa 8.0.1%2Bdfsg1%2B~cs12.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,588 kB
  • sloc: javascript: 2,940; makefile: 11; sh: 1
file content (22 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# -*- makefile -*-

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

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=nodejs
	DEST_FILE=execa.cjs START_FILE=index.js rollup -c debian/rollup.config.js
	perl -i -pe 's/node://g' execa.cjs
	cp debian/index.cjs index.cjs

#override_dh_auto_test:
#	# No test during build to avoid circular dependencies
override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs auto_dispatch