File: rules

package info (click to toggle)
wot 20131118-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,180 kB
  • sloc: makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 669 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 $@ --with xul-ext --buildsystem=xul_ext

override_dh_auto_build:
	mv $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js $(CURDIR)/debian/jquery.js.bkp
	uglifyjs -o $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js \
		$(CURDIR)/chrome/wot.jar\!/content/libs/jquery-ui-1.9.2.custom.js
	dh_auto_build -O--buildsystem=xul_ext
	mv $(CURDIR)/debian/jquery.js.bkp $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js

override_dh_auto_install:
	install-xpi --remove-license-files xul-ext-wot.xpi
	rm -r $(CURDIR)/debian/xul-ext-wot/usr/share/xul-ext/wot/META-INF

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/debian/upstream-changelog