File: rules

package info (click to toggle)
php-log 1.12.9-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 472 kB
  • ctags: 626
  • sloc: php: 1,914; xml: 548; makefile: 13; sql: 8
file content (17 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/role="test"/d;/role="data"/d;/docs\/guide.txt/d;' Log-*/package.xml

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd Log-* && pear run-tests tests
else
	@echo "** tests disabled"
endif

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