##// END OF EJS Templates
minor adjustments to markdown / rst templates...
minor adjustments to markdown / rst templates - remote prompts from output - add missing HTML block - remove double-wrapping of latex - use plain-markdown indentation for code blocks (could use GFM '` ` `python') closes #4024 candidate for backport to 1.1

File last commit:

r11086:c137395d
r12448:c138b06b
Show More
Makefile
23 lines | 460 B | text/x-makefile | MakefileLexer
all: tex/null.tplx tex/display_priority.tplx
# convert jinja syntax to tex
# cf http://flask.pocoo.org/snippets/55/
tex/%.tplx: %.tpl
@echo 'generating tex equivalent of $^: $@'
@echo '((= autogenerated file do not edit =))' > $@
@sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
-e "s/tpl'/tplx'/g" \
$^ >> $@
clean:
@echo "cleaning generated tplx files..."
@rm tex/*