You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
365 B
25 lines
365 B
#
|
|
# Ogolny makefile do obslugi dokumentow Latexowych
|
|
#
|
|
TEX = $(wildcard [a-z]*.tex)
|
|
PDF = $(patsubst %.tex,%.pdf,$(TEX))
|
|
|
|
all: pdf
|
|
|
|
pdf: $(PDF)
|
|
|
|
%.pdf: %.tex
|
|
pdflatex $*.tex && pdflatex $*.tex
|
|
|
|
%.dvi: %.tex
|
|
latex $*.tex
|
|
latex $*.tex
|
|
|
|
# Tej opcji uzywamy przy wysylaniu paczki
|
|
clean:
|
|
rm -f *~
|
|
rm -f *.log
|
|
rm -f *.aux
|
|
rm -f *.dvi
|
|
rm -f *.err
|
|
rm -f *.inf
|
|
|