File: rules

package info (click to toggle)
php-mail-mime 1.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 376 kB
  • ctags: 403
  • sloc: php: 1,538; xml: 816; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/phail\.php/d' */package.xml

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd Mail_Mime-* && pear run-tests tests
else
	@echo "** tests disabled"
endif