remove the 7th bit of the response_type for the event loops
[free-sw/xcb/libxcb] / doc / Makefile.am
1
2 EXTRA_DIST = \
3 tutorial/index.html \
4 tutorial/xcb.css \
5 xcb.doxygen.in
6
7 docdirs = $(srcdir)/tutorial
8
9 if BUILD_DOCS
10
11 docdirs += manual
12
13 # rule to build documentation and copy necessary files
14 manual:
15         doxygen xcb.doxygen
16
17 # rules to clean
18 clean-local:
19         rm -rf manual/
20
21 endif
22
23 all-local: $(docdirs)
24
25 # rule to install the html documentation and tutorial in $(htmldir)
26 install-data-local:
27         @if ! test -d "$(DESTDIR)$(htmldir)"; then \
28           echo "$(mkinstalldirs) '$(DESTDIR)$(htmldir)'"; \
29           $(mkinstalldirs) '$(DESTDIR)$(htmldir)'; \
30         fi
31         @for d in $(docdirs); do \
32           echo "cp -pR $$d '$(DESTDIR)$(htmldir)/'"; \
33           cp -pR $$d '$(DESTDIR)$(htmldir)/'; \
34         done
35
36 uninstall-local:
37         @for d in $(docdirs); do \
38           d=`basename $$d`; \
39           echo "test ! -d '$(DESTDIR)$(htmldir)/'$$d || { find '$(DESTDIR)$(htmldir)/'$$d -type d ! -perm -200 -exec chmod u+w '{}' ';' && rm -rf '$(DESTDIR)$(htmldir)/'$$d; }"; \
40           test ! -d '$(DESTDIR)$(htmldir)/'$$d || { find '$(DESTDIR)$(htmldir)/'$$d -type d ! -perm -200 -exec chmod u+w '{}' ';' && rm -rf '$(DESTDIR)$(htmldir)/'$$d; }; \
41         done
42         rmdir "$(DESTDIR)$(htmldir)/" || true