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