2015-04-13 16:38:44 +10:00
|
|
|
EXTRA_DIST = \
|
|
|
|
|
middle-button-emulation.svg \
|
|
|
|
|
touchpad-tap-state-machine.svg \
|
|
|
|
|
touchpad-softbutton-state-machine.svg
|
2014-03-28 15:51:08 +10:00
|
|
|
|
2014-12-18 10:49:59 -08:00
|
|
|
if BUILD_DOCS
|
2013-12-06 09:58:00 +10:00
|
|
|
|
|
|
|
|
noinst_DATA = html/index.html
|
|
|
|
|
|
|
|
|
|
header_files = \
|
2014-12-09 13:19:54 +10:00
|
|
|
$(top_srcdir)/src/libinput.h \
|
2014-12-18 10:49:58 -08:00
|
|
|
$(top_srcdir)/README.txt \
|
|
|
|
|
$(srcdir)/absolute-axes.dox \
|
|
|
|
|
$(srcdir)/clickpad-softbuttons.dox \
|
2014-12-22 10:11:09 +10:00
|
|
|
$(srcdir)/device-configuration-via-udev.dox \
|
2014-12-22 10:08:13 +10:00
|
|
|
$(srcdir)/normalization-of-relative-motion.dox \
|
2014-12-23 09:47:39 +10:00
|
|
|
$(srcdir)/palm-detection.dox \
|
2014-12-23 09:24:33 +10:00
|
|
|
$(srcdir)/scrolling.dox \
|
2014-12-18 10:49:58 -08:00
|
|
|
$(srcdir)/seats.dox \
|
2014-12-23 09:32:37 +10:00
|
|
|
$(srcdir)/t440-support.dox \
|
2015-05-06 12:16:15 +10:00
|
|
|
$(srcdir)/tapping.dox \
|
|
|
|
|
$(srcdir)/test-suite.dox
|
2014-12-18 10:49:58 -08:00
|
|
|
|
|
|
|
|
diagram_files = \
|
2014-12-22 10:33:55 +10:00
|
|
|
$(srcdir)/dot/seats-sketch.gv \
|
2014-12-23 09:24:33 +10:00
|
|
|
$(srcdir)/dot/seats-sketch-libinput.gv \
|
|
|
|
|
$(srcdir)/svg/button-scrolling.svg \
|
|
|
|
|
$(srcdir)/svg/edge-scrolling.svg \
|
2014-12-23 09:47:39 +10:00
|
|
|
$(srcdir)/svg/palm-detection.svg \
|
2014-12-23 09:24:33 +10:00
|
|
|
$(srcdir)/svg/twofinger-scrolling.svg
|
2014-12-18 10:49:58 -08:00
|
|
|
|
|
|
|
|
html/index.html: libinput.doxygen $(header_files) $(diagram_files)
|
|
|
|
|
$(AM_V_GEN)(cat $<; \
|
|
|
|
|
echo "INPUT = $(header_files)"; \
|
|
|
|
|
) | $(DOXYGEN) -
|
2013-12-06 09:58:00 +10:00
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
|
$(AM_V_at)rm -rf html
|
|
|
|
|
|
|
|
|
|
doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null)
|
2015-01-15 10:49:56 +10:00
|
|
|
EXTRA_DIST += $(builddir)/html/index.html $(doc_src) $(diagram_files) $(header_files)
|
2013-12-06 09:58:00 +10:00
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# make sure doc was built before running dist
|
|
|
|
|
dist-hook:
|
|
|
|
|
@test -f $(distdir)/html/index.html || (\
|
|
|
|
|
echo "******************************************************" && \
|
|
|
|
|
echo "Couldn't find documentation files, refusing make dist." && \
|
|
|
|
|
echo "Install doxygen to build documentation for tarball." && \
|
|
|
|
|
echo "******************************************************" && \
|
|
|
|
|
test )
|