X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=political%2Fversg%2FMakefile;fp=political%2Fversg%2FMakefile;h=faf112791074ba380828c83a998198693df2b60a;hp=0000000000000000000000000000000000000000;hb=ff32547ed4cd27ba058cefdcfbd8b1b7ffe0db73;hpb=fff954979dc1aa60eec2d373637dda7a1e64db70 diff --git a/political/versg/Makefile b/political/versg/Makefile new file mode 100644 index 0000000..faf1127 --- /dev/null +++ b/political/versg/Makefile @@ -0,0 +1,30 @@ +# Makefile +LATEX = latex +DVIPS = dvips -tlandscape +DVIPDF= dvipdf +PS2PDF = ps2pdf +PDFLATEX = pdflatex + +SRC := $(shell ls *.tex) +PDF = $(SRC:%.tex=%.pdf) + +all: $(PDF) + +%.dvi: %.tex + $(LATEX) $< $@ + $(LATEX) $< $@ + +%.ps: %.dvi + $(DVIPS) $< + +#%.pdf: %.ps +# $(PS2PDF) $< + +%.pdf: %.dvi + $(DVIPDF) $< + +#%.dvi: %.tex +# $(PDFLATEX) $< + +clean: + rm -f *.log *.aux