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 28 29 30
|
#!/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/
override_dh_auto_configure:
node-pre-gyp configure --sqlite=external --module_name=node_sqlite3
override_dh_auto_build:
node-pre-gyp build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
./debian/tests/runner src
endif
override_dh_fixperms:
dh_fixperms
chmod a-x $(PKGDIR)/usr/lib/nodejs/sqlite3/lib/binding/node-*/node_sqlite3.node
%:
dh $@
.PHONY: override_dh_auto_configure override_dh_auto_build \
override_dh_fixperms override_dh_auto_test
|