File: rules

package info (click to toggle)
node-leveldown 5.4.1+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 796 kB
  • sloc: cpp: 1,265; ansic: 191; makefile: 12; sh: 4
file content (22 lines) | stat: -rwxr-xr-x 460 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

SHLIBSDIR = debian/node-leveldown/usr/lib/nodejs/leveldown/build
SHLIBS = leveldown.node
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with nodejs

override_dh_auto_build:
	node-gyp configure build

override_dh_auto_clean:
	node-gyp clean
	dh_auto_clean --buildsystem=nodejs

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md