X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=Makefile;h=21e5740a89fba4bf0e15ae685aa6f3fd03a3a1dc;hp=19259790b51be618ce2caa7ce28f20414fb1ca7e;hb=adbc2a4478d606025705a406603e6097584b9fa0;hpb=8dcd0303a5e4af316f1b8072c77ffc3cb97a0f02 diff --git a/Makefile b/Makefile index 1925979..21e5740 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ SOURCE_IMG = $(wildcard img/*.dia) PS_IMG = $(SOURCE_IMG:.dia=.ps) EPS_IMG = $(SOURCE_IMG:.dia=.eps) PDF_IMG = $(SOURCE_IMG:.dia=.pdf) +SOURCE = $(wildcard sources/*.c) $(wildcard sources/*.h) sources/Makefile -all: $(PDF_IMG) htm + +all: $(PDF_IMG) gapil.tgz htm $(PDF_IMG): %.pdf: %.ps epstopdf $< --outfile=$@ @@ -12,10 +14,15 @@ $(PS_IMG): %.ps : %.eps eps2eps $< $@ $(EPS_IMG): %.eps : %.dia - dia -e $@ $< + dia --nosplash -e $@ $< + +gapil.tgz: $(SOURCE) sources/Makefile + tar -cvz -f $@ $^ htm: *.tex latex2html -local_icons -no_math -no_footnode gapil.tex + scp -r gapil/* piccardi@firenze.linux.it:public_html/gapil/html + scp gapil.p* piccardi@firenze.linux.it:public_html/gapil/ gapil.dvi: *.tex latex gapil.tex