File: rules

package info (click to toggle)
phpmyadmin-sql-parser 5.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,868 kB
  • sloc: php: 20,679; makefile: 13; sh: 8
file content (19 lines) | stat: -rwxr-xr-x 536 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
#export DH_VERBOSE = 1
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	# generate autoload-files. keep in sync with debian/tests/phpunit
	phpab --output src/autoload.php \
		--template debian/autoload.php.tpl \
		src
	phpab --template debian/autoload-test.php.tpl \
		--output tests/autoload.php \
		tests
	mkdir -p vendor
	ln -s -f -r tests/autoload.php vendor/autoload.php

override_dh_auto_test:
	# keep in sync with debian/tests/phpunit
	LC_ALL=C.UTF-8 phpunit --bootstrap tests/autoload.php --no-coverage