File: rules

package info (click to toggle)
php-horde-core 2.31.18%2Bdebian0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 8,160 kB
  • sloc: javascript: 47,212; php: 26,422; xml: 4,708; sh: 20; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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\.min\.js/d' */package.xml
	sed -i '/js\/jquery.mobile\/jquery\.mobile\.min\.js/d' */package.xml
	sed -i '/js\/jquery.mobile\/jquery\.mobile\.min\.css/d' */package.xml
	sed -i '/js\/map\/OpenLayers\.js/d' */package.xml
	sed -i '/js\/prototype\.js/d' */package.xml
	sed -i '/js\/scriptaculous/d' */package.xml