]> git.donarmstrong.com Git - dactyl.git/blob - debian/rules
Install NEWS as upstream changelog
[dactyl.git] / debian / rules
1 #!/usr/bin/make -f
2
3 PACKAGES=pentadactyl
4
5 %:
6         dh $@ --with xul-ext
7
8 override_dh_auto_build:
9         make DIRS=$(PACKAGES) MANGLE=dactyl xpi
10
11 override_dh_auto_install:
12         for PACKAGE in $(PACKAGES); \
13                 do install-xpi -p xul-ext-$$PACKAGE downloads/$$PACKAGE-*.xpi; \
14                 done
15
16 override_dh_auto_clean:
17         make DIRS=$(PACKAGES) clean
18         for PACKAGE in $(PACKAGES); \
19                 do rm -f $$PACKAGE/dactyl.zip; \
20                 done
21
22 override_dh_installchangelogs:
23         for PACKAGE in $(PACKAGES); \
24                 do dh_installchangelogs -p xul-ext-$$PACKAGE $$PACKAGE/NEWS; \
25                 done