File: rules

package info (click to toggle)
php-getid3 2.0.0~beta6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,108 kB
  • sloc: php: 34,627; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpab --output src/autoload.php src

override_dh_auto_test:
	phpunit --bootstrap src/autoload.php

override_dh_compress:
	dh_compress -X.php

execute_before_dh_installdeb:
	for i in $(CURDIR)/debian/php-getid3/usr/share/doc/php-getid3/examples/*.php ; do \
		sed -i -e 's#__DIR__ . "/../vendor#"GetID3#' "$$i"; \
	done