File: rules

package info (click to toggle)
node-re2 1.22.1%2B~cs1.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,012 kB
  • sloc: javascript: 5,762; cpp: 2,100; makefile: 14; sh: 9
file content (25 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --buildsystem=nodejs
	node-gyp configure

override_dh_auto_build:
	node-gyp build

override_dh_install:
	dh_install
	find $(CURDIR)/debian/ -name *.node -exec chmod 644 '{}' \;

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-re2/usr/lib/*/nodejs/install-artifact-from-github/bin/*.js