File: rules

package info (click to toggle)
php-getid3 1.9.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,820 kB
  • sloc: php: 31,685; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

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

override_dh_compress:
	dh_compress -X.php

override_dh_installdeb:
	for i in $(CURDIR)/debian/php-getid3/usr/share/doc/php-getid3/examples/*.php ; do \
		sed -i -e s#../getid3/getid3.php#getid3/autoload.php# "$$i"; \
	done
	dh_installdeb