xorg-libxcb/doc/Makefile.am
Jamey Sharp 44a2160c95 Make doc installation work and simplify doc/Makefile.am.
Don't override the default htmldir with an unquoted copy.

Don't suppress `make` echoing on Doxygen commands.

Ensure the tutorial is always installed even if Doxygen isn't
available.

Take better advantage of the automake installation infrastructure.
2006-11-18 22:35:39 -08:00

31 lines
547 B
Makefile

EXTRA_DIST = \
tutorial/index.html \
tutorial/xcb.css
htmlDATA_INSTALL = cp -pR
html_DATA = tutorial/
uninstall-htmlDATA:
@$(NORMAL_UNINSTALL)
@list='$(html_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
done
rmdir "$(DESTDIR)$(htmldir)/" || true
if BUILD_DOCS
# rule to build documentation and copy necessary files
manual: clean-local
cd .. && doxygen xcb.doxygen
# rules to clean
clean-local:
rm -rf manual/
html_DATA += manual/
endif