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/avrdude@508 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
5584068a89
commit
d1f0e2c6df
|
@ -29,16 +29,17 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue