File: rules

package info (click to toggle)
node-json5 2.1.3-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 552 kB
  • sloc: javascript: 2,466; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 470 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	cp lib/unicode.js debian/
	node build/unicode.js
	node ./lib/cli.js -c package.json5

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-json5/usr/share/nodejs/json5/lib/cli.js

override_dh_auto_clean:
	if [ -e debian/unicode.js ]; then \
		rm -f lib/unicode.js; \
		mv debian/unicode.js lib/unicode.js; \
	fi
	dh_auto_clean