projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggiunto materiale vario sul resolver
[gapil.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 5792d756e3ce76c54cb8f870f83b16f76c1df29a..a3f6a9f3c7f31e9f98c03b3a5b580f0643319310 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,9
+3,18
@@
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
EPS_IMG = $(SOURCE_IMG:.dia=.eps)
PDF_IMG = $(SOURCE_IMG:.dia=.pdf)
SOURCE = $(wildcard sources/*.c) $(wildcard sources/*.h) sources/Makefile
+CODE_C = $(wildcard listati/*.c)
+CODE_H = $(wildcard listati/*.h)
+HTML_C = $(CODE_C:.c=.c.html)
+HTML_H = $(CODE_H:.h=.h.html)
+all: $(PDF_IMG) gapil.tgz $(HTML_C) $(HTML_H) #htm
-all: $(PDF_IMG) gapil.tgz htm
+$(HTML_C): %.c.html: %.c
+ source-highlight -f html -s cpp $<
+
+$(HTML_H): %.h.html: %.h
+ source-highlight -f html -s cpp $<
$(PDF_IMG): %.pdf: %.ps
epstopdf $< --outfile=$@
$(PDF_IMG): %.pdf: %.ps
epstopdf $< --outfile=$@
@@
-14,13
+23,12
@@
$(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
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/
scp -r gapil/* piccardi@firenze.linux.it:public_html/gapil/html
scp gapil.p* piccardi@firenze.linux.it:public_html/gapil/
@@
-36,8
+44,8
@@
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 \
clean:
rm -f *.dvi *.log *.ps *.html *.aux *.toc *.rel *.ilg *.rip *.ind \
- *.pdf *.out *.idx *~
+ *.pdf *.out *.idx *~
listati/*.html img/*.ps img/*.eps img/*.pdf