projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revisione di parecchia roba sulle reti, rimessi insieme gli esempi ed una
[gapil.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 19259790b51be618ce2caa7ce28f20414fb1ca7e..570d4c70e9efd42a83940fd7e2ec4943d79560cf 100644
(file)
--- 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)
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=$@
$(PDF_IMG): %.pdf: %.ps
epstopdf $< --outfile=$@
@@
-12,10
+14,15
@@
$(PS_IMG): %.ps : %.eps
eps2eps $< $@
$(EPS_IMG): %.eps : %.dia
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
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
gapil.dvi: *.tex
latex gapil.tex
@@
-29,7
+36,7
@@
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
install:
scp -r gapil.p* piccardi@firenze.linux.it:public_html/gapil
scp -r gapil/* piccardi@firenze.linux.it:public_html/gapil/html
-
+ scp html/*.html piccardi@firenze.linux.it:public_html/gapil/
clean:
rm -f *.dvi *.log *.ps *.html *.aux *.toc *.rel *.ilg *.rip *.ind \
*.pdf *.out *.idx *~
clean:
rm -f *.dvi *.log *.ps *.html *.aux *.toc *.rel *.ilg *.rip *.ind \
*.pdf *.out *.idx *~