2013-12-09 08:42:17 +10:00
|
|
|
man3_MANS = libevdev.man
|
|
|
|
|
|
2013-06-22 19:13:36 +10:00
|
|
|
if HAVE_DOXYGEN
|
|
|
|
|
|
2013-11-24 08:02:30 -05:00
|
|
|
noinst_DATA = html/index.html
|
|
|
|
|
|
|
|
|
|
header_files = \
|
|
|
|
|
$(top_srcdir)/libevdev/libevdev.h \
|
|
|
|
|
$(top_srcdir)/libevdev/libevdev-uinput.h
|
|
|
|
|
|
2019-06-05 10:36:24 +10:00
|
|
|
html/index.html: libevdev.doxygen style/libevdevdoxygen.css $(header_files)
|
2013-11-24 08:02:27 -05:00
|
|
|
$(AM_V_GEN)$(DOXYGEN) $<
|
2013-06-22 19:13:36 +10:00
|
|
|
|
|
|
|
|
clean-local:
|
2013-11-24 08:02:27 -05:00
|
|
|
$(AM_V_at)rm -rf html
|
2013-06-22 19:13:36 +10:00
|
|
|
|
2013-11-24 08:02:29 -05:00
|
|
|
doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null)
|
2019-06-05 11:15:12 +10:00
|
|
|
style_src = \
|
|
|
|
|
style/bootstrap.css \
|
|
|
|
|
style/customdoxygen.css \
|
|
|
|
|
style/doxy-boot.js \
|
|
|
|
|
style/dynsections.js \
|
|
|
|
|
style/footer.html \
|
|
|
|
|
style/header.html \
|
|
|
|
|
style/layout.xml \
|
|
|
|
|
style/libevdevdoxygen.css \
|
|
|
|
|
style/LICENSE \
|
|
|
|
|
style/README.md \
|
|
|
|
|
style/style.css
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = html/index.html $(doc_src) $(style_src)
|
2013-11-24 08:02:30 -05:00
|
|
|
|
2013-06-22 19:13:36 +10:00
|
|
|
endif
|
|
|
|
|
|
2013-08-27 11:42:48 +10:00
|
|
|
# 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 )
|