From 859a5aee59dca2484f257e6dd341c5dacd0360cd Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sat, 17 Sep 2005 20:04:31 +0000 Subject: [PATCH] Improve the doc generation a bit. Do not rebuild the docs again if they are up-to-date. This avoids as well that they are rebuilt during "make install". Use mv -f instead of plain mv in order to install the docs into the respective subdirs, in order to avoid silly questions for non-writable destination files. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@508 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/doc/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/avrdude/doc/Makefile.am b/avrdude/doc/Makefile.am index 69e0276a..74a6ee1c 100644 --- a/avrdude/doc/Makefile.am +++ b/avrdude/doc/Makefile.am @@ -29,15 +29,16 @@ info_TEXINFOS = avrdude.texi all-local: info html ps pdf -html: +html: avrdude-html/avrdude.html + +avrdude-html/avrdude.html: $(srcdir)/$(info_TEXINFOS) texi2html -split_node $(srcdir)/$(info_TEXINFOS) if [ -e ./avrdude.html ]; then \ mkdir -p avrdude-html; \ - mv *.html avrdude-html ; \ + mv -f *.html avrdude-html ; \ else \ - mv avrdude avrdude-html; \ + mv -f avrdude avrdude-html; \ fi; - clean-local: rm -rf avrdude-html *.info