4 VERSION=$(shell dpkg-parsechangelog | \
5 sed -n -e '/^Version:/ { s/^Version:\s*//; s/[^a-z0-9]/_/g; p }')
10 override_dh_auto_build:
11 make DIRS=$(PACKAGES) MANGLE=$(VERSION) XPI_FILES=bootstrap.js xpi
13 override_dh_auto_install:
14 for PACKAGE in $(PACKAGES); \
15 do install-xpi -p xul-ext-$$PACKAGE downloads/$$PACKAGE-*.xpi; \
18 override_dh_auto_clean:
19 make DIRS=$(PACKAGES) clean
20 for PACKAGE in $(PACKAGES); \
21 do rm -f $$PACKAGE/$(VERSION).zip; \
24 override_dh_installchangelogs:
25 for PACKAGE in $(PACKAGES); \
26 do dh_installchangelogs -p xul-ext-$$PACKAGE $$PACKAGE/NEWS; \