gstreamer/docs/htmlinstall.mak
Benjamin Otte b1a266a63d 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
2003-11-16 20:14:29 +00:00

16 lines
381 B
Makefile

# this file adds rules for installing html subtrees
# 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)
uninstall-local:
for part in $(HTML_DAT); do rm -rf $(docdir)/$$part; done
rmdir $(docdir)
else
install-data-local:
uninstall-local:
endif