File: rules

package info (click to toggle)
libphp-swiftmailer 6.3.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,164 kB
  • sloc: php: 27,203; sh: 36; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 500 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
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	cp debian/autoload.php lib/autoload.php

override_dh_auto_test:
	mkdir -p vendor
	cp debian/autoload.test.php vendor/autoload.php
	SYMFONY_DEPRECATIONS_HELPER=weak phpunit \
		--include-path lib \
		--do-not-cache-result \
		--display-deprecations \
		--display-phpunit-deprecations

override_dh_fixperms:
	dh_fixperms --
	find debian/php-swiftmailer/usr/share/php/Swift -type f -print0 | xargs -r0 chmod -x ;