File: rules

package info (click to toggle)
php-db 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 900 kB
  • ctags: 1,595
  • sloc: php: 6,934; pascal: 999; xml: 192; sh: 22; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd DB-* && \
		for i in tests/db_* ; \
		do phpunit $$i ; \
		done
else
	@echo "** tests disabled"
endif

get-orig-source:
	uscan --verbose --force --rename