File: rules

package info (click to toggle)
display-mail-user-agent 2.9.13%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,492 kB
  • sloc: javascript: 951; makefile: 22
file content (36 lines) | stat: -rwxr-xr-x 629 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
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.

export DH_VERBOSE=1
export DH_OPTIONS=-v

DISPLAY-MAIL-USER-AGENT_FILES =  \
CHANGELOG \
content \
css \
images \
LICENSE \
_locales \
manifest.json \
scripts \
$(NULL)

# DISPLAY-MAIL-USER-AGENT_FILES_EXCLUDE =  \
# $(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/DisplayMailUserAgent-T@Toshi_.xpi \
	    $(DISPLAY-MAIL-USER-AGENT_FILES) \
# 	    --exclude $(DISPLAY-MAIL-USER-AGENT_FILES_EXCLUDE)
	dh_auto_build