summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 165f8665a605b5b51b5ad933a8ccb1f3643b3580 (plain)
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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

EAS4TBSYNC_FILES = \
 _locales \
 content \
 skin \
 background.js \
 manifest.json \
 $(NULL)

EAS4TBSYNC_FILES_EXCLUDE = \
 _locales/Readme.txt \
 content/timezonedata/README \
 $(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/eas4tbsync@jobisoft.de.xpi \
	    $(EAS4TBSYNC_FILES) \
	    --exclude $(EAS4TBSYNC_FILES_EXCLUDE)
	dh_auto_build