mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-21 18:58:12 +02:00
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.
32 lines
555 B
Makefile
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
|