From c1b22636d04ef04d31842b40878c83fa63ebe739 Mon Sep 17 00:00:00 2001 From: Simone Piccardi Date: Mon, 19 Aug 2002 17:34:23 +0000 Subject: [PATCH] Modificato il makefile per la generazione automatica delle figure, eliminando il vecchio script). Riscritto il server di fortunes con le fifo per usare il trucchetto della doppia apertura. Aggiornato il materiale per il sito. Riviste varie referenze sballate. --- Makefile | 12 +- gapil.tex | 6 +- geneimg.sh | 8 - html/index.html | 13 +- html/stampa.html | 6 + ipc.tex | 378 ++++++++++++++++++++++++++-------------- ipprot.tex | 6 +- network.tex | 4 +- prochand.tex | 4 +- sources/FortuneClient.c | 23 ++- sources/FortuneServer.c | 46 +++-- sources/IPCTestId.c | 6 +- sources/Makefile | 13 +- 13 files changed, 333 insertions(+), 192 deletions(-) delete mode 100644 geneimg.sh diff --git a/Makefile b/Makefile index e50363e..3a268c2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,15 @@ +SOURCE_IMG = $(wildcard img/*.dia) +EPS_IMG = $(SOURCE_IMG:.dia=.eps) +PDF_IMG = $(SOURCE_IMG:.dia=.pdf) -html: *.tex +all: $(PDF_IMG) htm + +$(PDF_IMG): %.pdf: %.eps + epstopdf $< --outfile=$@ +$(EPS_IMG): %.eps : %.dia + dia -e $@ $< + +htm: *.tex latex2html -local_icons -no_math -no_footnode gapil.tex gapil.dvi: *.tex diff --git a/gapil.tex b/gapil.tex index be7b703..6392012 100644 --- a/gapil.tex +++ b/gapil.tex @@ -21,8 +21,8 @@ \usepackage{listings} \lstloadlanguages{C++} \usepackage{color} -\usepackage{mdwlist} % scommentare per la stampa (PS e PDF) -\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF) +%\usepackage{mdwlist} % scommentare per la stampa (PS e PDF) +%\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF) %\usepackage{footnote} %\usepackage{mdwtab} % @@ -73,7 +73,7 @@ \tableofcontents \clearemptydoublepage -%\include{compatib} % commentare per la stampa PS e PDF +\include{compatib} % commentare per la stampa PS e PDF \include{macro} \setcounter{secnumdepth}{-2} \include{pref} diff --git a/geneimg.sh b/geneimg.sh deleted file mode 100644 index b648322..0000000 --- a/geneimg.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# Contributo di A. Frusciante -for i in img/*dia -do -j=`basename $i .dia` -dia -e img/$j.eps $i -epstopdf img/$j.eps --outfile=img/$j.pdf -done diff --git a/html/index.html b/html/index.html index 0c15b4e..52a7fec 100644 --- a/html/index.html +++ b/html/index.html @@ -2,6 +2,11 @@ GaPiL -- Guida alla Programmazione in Linux + + + +