File: rules

package info (click to toggle)
php-horde-core 2.31.6%2Bdebian0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,448 kB
  • sloc: php: 26,351; xml: 4,523; sh: 18; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 572 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DESTDIR=$(CURDIR)/debian/php-horde-core

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

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	# Remove references to embedded libs removed by git-import-orig
	sed -i '/js\/excanvas\//d' */package.xml
	sed -i '/js\/jquery.mobile\/jquery\.mobile\.min\.js/d' */package.xml
	sed -i '/js\/jquery.mobile\/jquery\.min\.js/d' */package.xml
	sed -i '/js\/jquery.mobile\/jquery\.min\.css/d' */package.xml
	sed -i '/js\/prototype\.js/d' */package.xml
	sed -i '/js\/scriptaculous/d' */package.xml