File: rules

package info (click to toggle)
node-json5 2.2.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 516 kB
  • sloc: javascript: 2,673; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 465 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 $@

override_dh_auto_build:
	node build/unicode.js
	node ./lib/cli.js -c package.json5
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
	chmod +x lib/cli.js
	help2man -N -n 'Command line for the JSON5 Data Interchange Format (JSON5)' lib/cli.js >json5.1
endif

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