File: rules

package info (click to toggle)
node-nodedbi 1.0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 164 kB
  • sloc: cpp: 655; javascript: 101; makefile: 12
file content (22 lines) | stat: -rwxr-xr-x 526 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
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_fixperms:
	dh_fixperms
	chmod -x $(TMP)/usr/lib/*/nodejs/nodedbi/build/Release/nodedbi.node

override_dh_auto_install:
	dh_auto_install --buildsystem=nodejs
	rm -rf $(TMP)/usr/lib/*/nodejs/nodedbi/build/Makefile
	rm -rf $(TMP)/usr/lib/*/nodejs/nodedbi/build/Release/.deps/