File: rules

package info (click to toggle)
php-cache-lite 1.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 488 kB
  • sloc: php: 892; xml: 872; pascal: 28; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (2)
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_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/name="README.md"/d' */package.xml
	sed -i '/name="TODO"/d' */package.xml

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd Cache_Lite-*/ && phpunit tests
else
	@echo "** tests disabled"
endif