File: rules

package info (click to toggle)
allow-html-temp 10.0.8-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 368 kB
  • sloc: javascript: 1,454; makefile: 25; sh: 7
file content (34 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v

ALLOW-HTML-TEMP_FILES =  \
api \
icons \
_locales \
manifest.json \
options \
scripts \
$(NULL)

ALLOW-HTML-TEMP_FILES_EXCLUDE =  \
LICENSE \
README.md \
$(NULL)

%:
	dh $@


override_dh_clean:
	dh_clean
	rm -rf debian/build

override_dh_auto_build-indep:
	mkdir $(CURDIR)/debian/build && \
	zip --recurse-paths $(CURDIR)/debian/build/{532269cf-a10e-4396-8613-b5d9a9a516d4}.xpi \
	    $(ALLOW-HTML-TEMP_FILES) \
	    --exclude $(ALLOW-HTML-TEMP_FILES_EXCLUDE)
	dh_auto_build