touchpad: Route top softbuttons through the trackstick if we've one
[platform/upstream/libinput.git] / doc / Makefile.am
1 EXTRA_DIST = touchpad-tap-state-machine.svg touchpad-softbutton-state-machine.svg
2
3 if HAVE_DOXYGEN
4
5 noinst_DATA = html/index.html
6
7 header_files = \
8         $(top_srcdir)/src/libinput.h
9
10 html/index.html: libinput.doxygen $(header_files)
11         $(AM_V_GEN)$(DOXYGEN) $<
12
13 clean-local:
14         $(AM_V_at)rm -rf html
15
16 doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null)
17 EXTRA_DIST += $(builddir)/html/index.html $(doc_src)
18
19 endif
20
21 # make sure doc was built before running dist
22 dist-hook:
23         @test -f $(distdir)/html/index.html || (\
24                 echo "******************************************************" && \
25                 echo "Couldn't find documentation files, refusing make dist." && \
26                 echo "Install doxygen to build documentation for tarball." && \
27                 echo "******************************************************" && \
28                 test )