File: rules

package info (click to toggle)
php7cc 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 816 kB
  • ctags: 716
  • sloc: php: 3,787; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 468 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --buildsystem=phppear --with phpcomposer

override_dh_auto_build:
	dh_auto_build
	phpab --follow --paranoid --nolower \
              --template debian/cs-autoload.php.tpl \
              --output src/autoload.php src

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit --verbose
else
	@printf "** tests disabled\n"
endif