File: rules

package info (click to toggle)
php-numbers-words 0.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 704 kB
  • ctags: 1,297
  • sloc: php: 8,684; xml: 645; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit --configuration Numbers_Words-*/tests/phpunit.xml Numbers_Words-*/tests
else
	@echo "** tests disabled"
endif

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/name="ChangeLog"/d;' */package.xml