X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=Makefile;h=3a268c2a55fe7259b800e67ca43ab2c0f0c8bee3;hp=f32575bc2b92b0073b2eef4454df5ae64b44dd5f;hb=c1b22636d04ef04d31842b40878c83fa63ebe739;hpb=8f0266fc964bcdf2aa8d7791a24f05a0eda77556 diff --git a/Makefile b/Makefile index f32575b..3a268c2 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,30 @@ -html: - latex2html main.tex +SOURCE_IMG = $(wildcard img/*.dia) +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: %.eps + epstopdf $< --outfile=$@ +$(EPS_IMG): %.eps : %.dia + dia -e $@ $< -all: html dvi ps +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* piccardi@firenze.linux.it:public_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 *~ +