Source

SageTeX / Makefile

Dan Drake 29145fc 
Dan Drake cf2fef5 
Dan Drake 29145fc 







Dan Drake b6245b8 
Dan Drake 29145fc 





Dan Drake fe048fe 

Dan Drake 29145fc 
Dan Drake cf2fef5 



Dan Drake b6245b8 
Dan Drake fe048fe 


pkg=sagetexpackage
dest=/home/drake/texmf/tex/latex/sagetex/

all:
	latex $(pkg).ins
	latex $(pkg).dtx
	sage $(pkg).sage
	makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo 
	makeindex -s gind.ist -o $(pkg).ind $(pkg).idx
	latex $(pkg).dtx
	pdflatex $(pkg).dtx
	latex example.tex
	sage example.sage
	latex example.tex
	pdflatex example.tex

clean: 
	latexcleanup clean .
	rm -fr sage-plots-for-* E2.sobj *.pyc sagetex.tar.gz sagetex.py sagetex.pyc sagetex.sty

install:
	cp sagetex.py $(dest)
	sed -e 's/ hrm iffalse and fi

dist: all
	@echo
	@echo Did you turn off Imagemagick in example.tex?
	@echo
	@tar zcf sagetex.tar.gz ../sagetex/example.pdf ../sagetex/example.tex ../sagetex/README ../sagetex/sagetexpackage.dtx ../sagetex/sagetexpackage.ins ../sagetex/sagetexpackage.pdf ../sagetex/sagetex.py ../sagetex/sagetex.sty