File: rules

package info (click to toggle)
node-sqlite3 5.0.0%2Bds1-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,896 kB
  • sloc: cpp: 11,186; sql: 10,062; javascript: 2,703; sh: 243; makefile: 72; python: 8
file content (27 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (2)
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
27
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PKGDIR=$(CURDIR)/debian/node-sqlite3/

%:
	dh $@

override_dh_clean:
	$(RM) -r $(CURDIR)/build \
		$(CURDIR)/lib/binding
	dh_clean

override_dh_auto_configure:
	dh_auto_configure --buildsystem=nodejs
	node-pre-gyp configure --sqlite=external --module_name=node_sqlite3

override_dh_auto_build:
	node-pre-gyp build

.PHONY: override_dh_auto_configure override_dh_auto_build \
	override_dh_clean