Skip to content
Snippets Groups Projects
Commit cfaeabb6 authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

makefile using sed and pandoc to convert to html

parent bfbd7d93
No related branches found
No related tags found
No related merge requests found
RST_FILES=$(wildcard *.rst)
HTML_FILES := $(patsubst %.rst, %.html, $(RST_FILES))
all: $(HTML_FILES)
clean:
rm -f *.html
%.html: %.rst
sed 's/>`__/.html>`__/g' $< | pandoc -s -f rst - -o $@
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment