8 # install documentation
10 all-local: doc-build.stamp
12 # rule to remove all old created files
14 @if test -d manual/ ; then \
18 # rule to build documentation and copy necessary files
19 doc-build.stamp: doc-prepare.stamp
20 @cd .. && doxygen xcb.doxygen
26 install-data-local: install-html-local
28 # rule to install the html documentation and tutorial in $(htmldir)
30 @if ! test -d "$(DESTDIR)$(htmldir)"; then \
31 $(mkinstalldirs) "$(DESTDIR)$(htmldir)"; \
33 @cp -pr manual/ "$(DESTDIR)$(htmldir)"
34 @cp -pr tutorial/ "$(DESTDIR)$(htmldir)"
36 # rule to uninstall the documentation
38 @rm -rf $(DESTDIR)$(htmldir)