File: rules

package info (click to toggle)
php-fdomdocument 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 264 kB
  • ctags: 392
  • sloc: php: 1,296; xml: 88; makefile: 18
file content (24 lines) | stat: -rwxr-xr-x 597 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
22
23
24
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_clean:
	rm -rf fDOMDocument-*/build
	dh_auto_clean -O--buildsystem=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 fDOMDocument-* && phpunit --bootstrap='TheSeer/fDOMDocument/autoload.php'
else
	@echo "** tests disabled"
endif

override_dh_installchangelogs:
	dh_installchangelogs -k fDOMDocument-*/README.md

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