don't try to install html docs when there are none

Original commit message from CVS:
don't try to install html docs when there are none
This commit is contained in:
Benjamin Otte 2003-11-16 20:14:29 +00:00
parent 40a15c4e42
commit b1a266a63d

View file

@ -2,6 +2,7 @@
# I really don't like this hack, but automake doesn't seem to want to
# install directory trees :(
if DOC_HTML
install-data-local: html
mkdir -p $(docdir)
cp -pr $(HTML_DAT) $(docdir)
@ -9,3 +10,7 @@ install-data-local: html
uninstall-local:
for part in $(HTML_DAT); do rm -rf $(docdir)/$$part; done
rmdir $(docdir)
else
install-data-local:
uninstall-local:
endif