#!/usr/bin/make -f %: dh $@ --with elpa override_dh_auto_build: emacs -q --batch -l htmlize -l ox-html-stable-ids README.org \ --eval '(setq org-html-stable-ids t org-export-timestamp-file nil)' \ -f org-html-stable-ids-add \ -f org-texinfo-export-to-info -f org-html-export-to-html # Makeinfo behaving funny, changing images path manually sed -i -E '/image src="images/s/images/\/usr\/share\/doc\/elpa-citar\/images/g' citar.info # Deactivate eldev override_dh_auto_clean: rm -f citar.texi citar.info* citar.html