branch: scratch/editorconfig-cc commit d8742edc38f6e51cca1fe89e54fa3dc5f9f66cf7 Author: 10sr <8.slas...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Fix make doc command --- Makefile | 5 +++-- doc/header.txt | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 85f5b4fbfd..b68198f209 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,10 @@ $(OBJS): %.elc: %.el doc: doc/editorconfig.texi -doc/editorconfig.texi: README.md +doc/editorconfig.texi: README.md doc/header.txt mkdir -p doc - tail -n +4 $< | $(PANDOC) -s -f markdown -o $@ + tail -n +4 $< | $(PANDOC) -s -f markdown -t texinfo -o $@.body + cat doc/header.txt $@.body >$@ test: test-ert test-core test-metadata $(OBJS) diff --git a/doc/header.txt b/doc/header.txt new file mode 100644 index 0000000000..84eceb02b5 --- /dev/null +++ b/doc/header.txt @@ -0,0 +1,4 @@ +@dircategory Emacs +@direntry +* EditorConfig: (editorconfig). EditorConfig Emacs Plugin. +@end direntry