File: rules

package info (click to toggle)
node-html5-qrcode 2.3.8%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,284 kB
  • sloc: javascript: 18,686; makefile: 15; sh: 14
file content (25 lines) | stat: -rwxr-xr-x 441 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
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

execute_before_dh_auto_clean:
	pkgjs-run clean
	find src -name "*.d.ts" | xargs rm -f

override_dh_auto_build:
	pkgjs-run build
	cp -a third_party dist
	mkdir -p debian/nodejs
	echo dist >debian/nodejs/main

execute_after_dh_auto_install:
	rm -f debian/nodejs/main

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs