File: rules

package info (click to toggle)
quotecolors 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 340 kB
  • ctags: 44
  • sloc: makefile: 17
file content (24 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
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --with xul-ext

override_dh_auto_build:
	mkdir build-dir
	mkdir build-dir/chrome
	cp -a quotecolors build-dir && find build-dir -name 'contents.rdf' -exec rm {} \;
	cd build-dir/quotecolors && zip -r ../chrome/quotecolors.jar .
	rm -rf build-dir/quotecolors
	cp chrome.manifest build-dir
	cp install.rdf build-dir
	cp -a defaults build-dir
	xpi-pack build-dir xul-ext-quotecolors.xpi

override_dh_auto_install:
	install-xpi xul-ext-quotecolors.xpi

override_dh_auto_clean:
	rm -f xul-ext-quotecolors.xpi
	rm -rf build-dir