File: rules

package info (click to toggle)
php-html-safe 0.10.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 96 kB
  • ctags: 88
  • sloc: php: 327; xml: 66; makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/ role="doc" /d' */package.xml

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd HTML_Safe-* && \
		phpunit tests/testHTML_Safe.php
else
	@echo "** tests disabled"
endif

override_dh_installchangelogs:
	dh_installchangelogs -k HTML_Safe-*/docs/README

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