File: rules

package info (click to toggle)
node-mermaid 8.7.0%2Bds%2B~cs27.17.17-3%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,168 kB
  • sloc: javascript: 30,810; makefile: 11; sh: 8
file content (20 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with nodejs

override_dh_auto_build:
	ln -sf /usr/share/nodejs/buffer .
	uglifyjs.terser escaper/dist/escaper.js -c -m -o escaper/dist/escaper.min.js
	webpack --progress --colors

override_dh_auto_test:
	echo 'Test while building are disabled...'

override_dh_fixperms:
	dh_fixperms
	find `find debian -name khroma` -type f \( -name "index.ts" -o -name "package.json" \) | xargs chmod -x