X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=Makefile;h=19259790b51be618ce2caa7ce28f20414fb1ca7e;hp=3ce18629b987c83fa981776a006251a867a8363c;hb=32564231c62ef917086f71a223a1847c859edf0e;hpb=091527e47fd90180e50ceee95a72340f990d999f diff --git a/Makefile b/Makefile index 3ce1862..1925979 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,36 @@ -html: - latex2html -local_icons main.tex +SOURCE_IMG = $(wildcard img/*.dia) +PS_IMG = $(SOURCE_IMG:.dia=.ps) +EPS_IMG = $(SOURCE_IMG:.dia=.eps) +PDF_IMG = $(SOURCE_IMG:.dia=.pdf) -dvi: - latex main.tex +all: $(PDF_IMG) htm -ps: - dvips -o gapil.ps main.dvi +$(PDF_IMG): %.pdf: %.ps + epstopdf $< --outfile=$@ -all: html dvi ps +$(PS_IMG): %.ps : %.eps + eps2eps $< $@ + +$(EPS_IMG): %.eps : %.dia + dia -e $@ $< + +htm: *.tex + latex2html -local_icons -no_math -no_footnode gapil.tex + +gapil.dvi: *.tex + latex gapil.tex + +gapil.pdf: *.tex + pdflatex gapil.tex + +gapil.ps: gapil.dvi + dvips -o gapil.ps gapil.dvi + +install: + scp -r gapil.p* piccardi@firenze.linux.it:public_html/gapil + scp -r gapil/* piccardi@firenze.linux.it:public_html/gapil/html clean: - rm -f *.dvi *.log *.ps *.html *.aux \ No newline at end of file + rm -f *.dvi *.log *.ps *.html *.aux *.toc *.rel *.ilg *.rip *.ind \ + *.pdf *.out *.idx *~ +