From: Arnaud Giersch Date: Wed, 8 Oct 2014 19:46:58 +0000 (+0200) Subject: Fix Makefiles. X-Git-Tag: extracted~37 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/graphlib_java.git/commitdiff_plain/59a65e7f8867df587762f77d8ecce9259c068aec Fix Makefiles. --- diff --git a/Makefile b/Makefile index 0d15097..0bf6fd3 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,10 @@ EXAMPLES = Hello.java Exemple1.java Exemple2.java Exemple3.java EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class) -all: +all: html/index.html $(MAKE) -f ../Makefile.generic $(EXAMPLES_CLASS) + +html/index.html: $(SRC) $(RM) -r html javadoc -author -version -notree -nodeprecated -nohelp \ -encoding utf-8 -docencoding utf-8 -charset utf-8 \ @@ -21,8 +23,7 @@ clean: 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