%:
dh $@ --with xul-ext
+# this silliness is needed due to the binary/ directory in the project root
+.PHONY: binary
+binary:
+ dh binary --with xul-ext
+
override_dh_auto_build:
make DIRS=$(PACKAGES) MANGLE=chrome XPI_FILES='bootstrap.js NEWS' xpi
done
UPSTREAM_REPO=../upstream
-UPSTREAM_REVISION=pentadactyl-1.0b6
+UPSTREAM_REVISION=7094
UPSTREAM_DEST=$(shell pwd)/dactyl.tar.gz
get-orig-source:
hg --cwd $(UPSTREAM_REPO) update
hg --cwd $(UPSTREAM_REPO) archive \
-r $(UPSTREAM_REVISION) -p dactyl \
- -X .hgtags -X common/javascript.vim \
+ -X .hgtags -X .hgsub -X .hgsubstate -X .hgignore \
+ -X common/javascript.vim \
-t tgz $(UPSTREAM_DEST)
test ! -f .hg-repo-created || ( rm -rf $(UPSTREAM_REPO); rm -f .hg-repo-created )