##// END OF EJS Templates
fix failing tests without X in IPython.lib...
fix failing tests without X in IPython.lib note that pylab_not_importable appears to not be enough to catch if we're running X. I'm able to import pylab, and it's only %%matplotlib magic that causes these tests to die

File last commit:

r11086:c137395d
r11971:3ebde4bd
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/*