File: rules

package info (click to toggle)
node-postgres 7.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,112 kB
  • sloc: makefile: 79; sh: 11
file content (20 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	mkdir node_modules
	cd node_modules && for f in ../pg* ../buffer* ../packet* ../postgres-*; do \
		ln -s $$f; \
	done
	$(MAKE) test-unit
	rm -rf node_modules
endif