File: rules

package info (click to toggle)
node-js-yaml 4.1.0%2Bdfsg%2B~4.0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 11,112 kB
  • sloc: javascript: 20,148; makefile: 17; sh: 13
file content (26 lines) | stat: -rwxr-xr-x 756 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
26
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	rollup -c support/rollup.config.js

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-js-yaml/usr/share/nodejs/js-yaml/bin/js-yaml.js

override_dh_installman:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	help2man --no-info --name "JavaScript YAML parser and dumper" --include=debian/help2man.include bin/js-yaml.js > debian/js-yaml.1
	dh_installman
else
skipped_dh_installman:
	@echo '**********************************************************'
	@echo 'Skip installing man                                       '
	@echo '**********************************************************'
endif