+$(PDF_IMG): %.pdf: %.eps
+ GS_OPTIONS="-dAutoRotatePages=/None" epstopdf $< --outfile=$@
+
+$(PS_IMG): %.ps : %.eps
+ eps2eps $< $@
+
+$(EPS_IMG): %.eps : %.dia
+ dia --nosplash -e $@ $<
+
+gapil_source.tgz: $(SRC)
+ tar -cvz -f $@ $^
+
+gapil.tgz: $(ALL_SRC)
+ tar -cvz -f $@ $^
+
+gapil.dvi: *.tex
+ latex gapil.tex
+
+gapil.pdf: *.tex Makefile
+ pdflatex gapil.tex
+ bibtex gapil
+ makeindex gapil.idx
+ pdflatex gapil.tex
+
+gapil.ps: gapil.dvi
+ dvips -o gapil.ps gapil.dvi
+
+#install: gapil.pdf gapil.dvi
+# scp gapil.p* gapil_source.* piccardi@firenze.linux.it:public_html/gapil
+# scp html/*.html piccardi@firenze.linux.it:public_html/gapil/
+# scp gapil.p* gapil_source.tgz root@truelite.it:/var/www/gapil
+# scp html/*.html root@truelite.it:/var/www/gapil/