File: rules

package info (click to toggle)
php-httpful 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 360 kB
  • sloc: php: 1,695; xml: 16; makefile: 15
file content (19 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer -XREADME.md

override_dh_auto_build:
	phpab \
		--output src/Httpful/autoload.php \
		src/Httpful
	cp src/Httpful/Handlers/README.md debian/README_Handlers.md

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

override_dh_installchangelogs:
	dh_installchangelogs -k README.md