#!/usr/bin/make -f

%:
	dh $@ --with elpa

override_dh_auto_build:
	$(EMACS) --batch --eval '(byte-recompile-directory ".")'

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/tmp
	$(INSTALL) -m 644 *.el $(CURDIR)/debian/tmp

override_dh_elpa_test:
	# Skip as no test is available.

override_dh_auto_clean:
	-rm -rf *.elc
