Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix build infrastructure for independent project.
[graphlib_java.git] / Makefile
index 71c49e3..5fff79b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-include ../subdefs.mk
-
 DEST = $(HOME)/public_html/enseignement/Permanent/AlgoProg/tp/graph
 
 SRC = DrawingWindow.java
@@ -9,16 +7,22 @@ SRC_CLASS = $(SRC:%.java=%.class)
 EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class)
 
 all: html/index.html
-       $(MAKE) -f ../Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS)
+       $(MAKE) -f Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS)
+       $(MAKE) -f Makefile.generic Test.class
 
-html/index.html: $(SRC)
+html/index.html: $(SRC) overview.html
        $(RM) -r html
-       javadoc -author -version -notree -nodeprecated -nohelp \
-               -encoding utf-8 -docencoding utf-8 -charset utf-8 \
+       javadoc -locale fr_FR -encoding utf-8 -docencoding utf-8 -charset utf-8 \
+               -quiet -notree -nodeprecated -nohelp \
+               -author -version -public \
+               -overview overview.html \
+               -doctitle "Petite bibliothèque graphique" \
+               -windowtitle "Petite bibliothèque graphique" \
                -d html/ $(SRC)
 
 clean:
        $(RM) DrawingWindow*.class
+       $(RM) Test.class
        $(RM) $(EXAMPLES_CLASS)
        $(RM) -r html/