X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/graphlib_java.git/blobdiff_plain/6a9b2c2fa69e0fa07e3757dbda31b74c32b41b39..2161695b571b58b3d58c69ea0ddb8648ba0a73d3:/Makefile diff --git a/Makefile b/Makefile index 0d15097..a3060bf 100644 --- a/Makefile +++ b/Makefile @@ -5,24 +5,32 @@ DEST = $(HOME)/public_html/enseignement/Permanent/AlgoProg/tp/graph SRC = DrawingWindow.java EXAMPLES = Hello.java Exemple1.java Exemple2.java Exemple3.java +SRC_CLASS = $(SRC:%.java=%.class) EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class) -all: - $(MAKE) -f ../Makefile.generic $(EXAMPLES_CLASS) +all: html/index.html + $(MAKE) -f ../Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS) + $(MAKE) -f ../Makefile.generic Test.class + +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/ realclean: clean -install: all - $(RM) -r $(DEST) +install: html/index.html $(INSTALL) -C -m 755 -d $(DEST) $(DEST)/resources $(INSTALL) -C -m 644 $(SRC) $(EXAMPLES) $(DEST) $(INSTALL) -C -m 644 html/resources/* $(DEST)/resources