1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
%:
dh $@ --buildsystem=phppear --with phppear
PEAR ?= /usr/bin/pear
pear_pkg = $(shell ls | grep PHP_CodeCoverage)
package = php-codecoverage
override_dh_install:
dh_install -O--buildsystem=phppear
ln -s ../../../../../../../javascript/jquery/jquery.min.js debian/$(package)/usr/share/php/PHP/CodeCoverage/Report/HTML/Renderer/Template/jquery.min.js
ln -s ../../../../../../../javascript/yui/yahoo-dom-event/yahoo-dom-event.js debian/$(package)/usr/share/php/PHP/CodeCoverage/Report/HTML/Renderer/Template/yahoo-dom-event.js
ln -s ../../../../../../../javascript/yui/container/container-min.js debian/$(package)/usr/share/php/PHP/CodeCoverage/Report/HTML/Renderer/Template/container-min.js
delete_nonfree_from_upstream:
rm -f $(pear_pkg)/PHP/CodeCoverage/Report/HTML/Renderer/Template/container-min.js
rm -f $(pear_pkg)/PHP/CodeCoverage/Report/HTML/Renderer/Template/highcharts.js
rm -f $(pear_pkg)/PHP/CodeCoverage/Report/HTML/Renderer/Template/jquery.min.js
rm -f $(pear_pkg)/PHP/CodeCoverage/Report/HTML/Renderer/Template/yahoo-dom-event.js
|