X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=Makefile;h=d1fb1d0070eae7426e4afc233e079660657b456e;hp=19259790b51be618ce2caa7ce28f20414fb1ca7e;hb=34f56436c681e35d93480457fd2c328ac9ab417b;hpb=32564231c62ef917086f71a223a1847c859edf0e diff --git a/Makefile b/Makefile index 1925979..d1fb1d0 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ 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=$@ @@ -14,8 +15,13 @@ $(PS_IMG): %.ps : %.eps $(EPS_IMG): %.eps : %.dia dia -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