isa: made a command with perltex for fancy ISA
[calu.git] / isasty / Makefile
1 SHELL := bash
2
3 LATEX := pdflatex
4
5 all: noperltex.sty
6         $(LATEX) isa.tex
7
8 noperltex.sty: isa_file.tex
9         @if $(SHELL) -c 'perltex --help' > /dev/null 2>&1; then \
10                 perltex --makesty --latex=pdflatex isa_gen.tex; \
11                 rm -f isa_gen.pdf isa_gen.log isa_gen.aux isa_gen.dfpl isa_gen.frpl isa_gen.lgpl isa_gen.topl isa_gen.pipe; \
12         else \
13                 echo "no perltex installed! i hope you have the builded files";\
14         fi
15
16 clean:
17         @rm -f isa.aux isa.log isa.pdf
18
19 cleanall: clean
20         @rm -f noperltex.sty noperltex-*.tex