File: rules

package info (click to toggle)
libjs-fetch 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 248 kB
  • sloc: javascript: 2,451; makefile: 22
file content (19 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_build:
	rollup -c
	ln -s fetch.umd.js dist/fetch.js
	uglifyjs.terser dist/fetch.umd.js >dist/fetch.min.js

override_dh_auto_test:
	# Not really a node module

override_dh_auto_install:
	dh_auto_install --buildsystem=nodejs
	rm -rf debian/libjs-fetch/usr/share/nodejs/whatwg-fetch/dist