File: rules

package info (click to toggle)
node-js-beautify 1.7.5%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,400 kB
  • sloc: python: 10,222; sh: 848; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 606 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export SHELL=/bin/bash
export NODE_PATH=debian/node_modules

%:
	dh $@ --with nodejs

override_dh_auto_build:
	./build js

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-js-beautify/usr/lib/nodejs/js-beautify/js/bin/*
	chmod +x debian/node-js-beautify/usr/lib/nodejs/js-beautify/js/lib/cli.js
	chmod +x debian/node-js-beautify/usr/lib/nodejs/js-beautify/node_modules/editorconfig/bin/editorconfig

override_dh_auto_clean:
	rm -rf dist js/lib/beautify*
	rm -rf web python/jsbeautifier/unpackers