File: rules

package info (click to toggle)
php-finder-facade 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 148 kB
  • sloc: php: 179; xml: 44; makefile: 22
file content (28 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab \
		--template debian/autoload.php.in \
		--output src/autoload.php \
		src
	cd debian && phpdox

override_dh_auto_clean:
	dh_auto_clean
	rm -rf	debian/api \
		debian/phpdox

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit --bootstrap src/autoload.php tests
else
	@echo "** tests disabled"
endif

override_dh_compress:
	dh_compress -X.xhtml

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