3 DEST = $(HOME)/public_html/enseignement/Permanent/AlgoProg/tp/graph
5 SRC = DrawingWindow.java
6 EXAMPLES = Hello.java Exemple1.java Exemple2.java Exemple3.java
8 SRC_CLASS = $(SRC:%.java=%.class)
9 EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class)
12 $(MAKE) -f ../Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS)
13 $(MAKE) -f ../Makefile.generic Test.class
15 html/index.html: $(SRC) overview.html
17 javadoc -locale fr_FR -encoding utf-8 -docencoding utf-8 -charset utf-8 \
18 -quiet -notree -nodeprecated -nohelp \
19 -author -version -public \
20 -overview overview.html \
21 -doctitle "Petite bibliothèque graphique" \
22 -windowtitle "Petite bibliothèque graphique" \
26 $(RM) DrawingWindow*.class
28 $(RM) $(EXAMPLES_CLASS)
33 install: html/index.html
34 $(INSTALL) -C -m 755 -d $(DEST) $(DEST)/resources
35 $(INSTALL) -C -m 644 $(SRC) $(EXAMPLES) $(DEST)
36 $(INSTALL) -C -m 644 html/resources/* $(DEST)/resources
37 $(INSTALL) -C -m 644 html/*[.-]* $(DEST)