xorg-libxcb/doc/Makefile.am
Josh Triplett af3a15838f Rework doxygen build and install to work with srcdir != builddir
The documentation generation with doxygen now works when built out of tree,
with srcdir != builddir.  xcb.doxygen now gets generated from xcb.doxygen.in,
so that it can use top_builddir and top_srcdir to find source and to output
documentation.  Also fill in PROJECT_NUMBER from @VERSION@, now that we have
it readily available via autoconf.
2006-11-23 00:11:09 -08:00

32 lines
555 B
Makefile

EXTRA_DIST = \
tutorial/index.html \
tutorial/xcb.css \
xcb.doxygen.in
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
doxygen xcb.doxygen
# rules to clean
clean-local:
rm -rf manual/
html_DATA += manual/
endif