##// END OF EJS Templates
Backport PR #4178: add missing data_javascript...
Backport PR #4178: add missing data_javascript Note that javascript is still excluded from html output by default, but this makes it possible to include javascript output in custom templates. candidate for backport to 1.1

File last commit:

r12465:b2940d33
r12465:b2940d33
Show More
Makefile
23 lines | 516 B | text/x-makefile | MakefileLexer
all: ../latex/skeleton/null.tplx ../latex/skeleton/display_priority.tplx
# convert jinja syntax to tex
# cf http://flask.pocoo.org/snippets/55/
../latex/skeleton/%.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 ../latex/skeleton/*