• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1man3_MANS = libevdev.man
2
3if HAVE_DOXYGEN
4
5noinst_DATA = html/index.html
6
7header_files = \
8	$(top_srcdir)/libevdev/libevdev.h \
9	$(top_srcdir)/libevdev/libevdev-uinput.h
10
11html/index.html: libevdev.doxygen style/libevdevdoxygen.css $(header_files)
12	$(AM_V_GEN)$(DOXYGEN) $<
13
14clean-local:
15	$(AM_V_at)rm -rf html
16
17doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null)
18style_src = \
19	style/bootstrap.css \
20	style/customdoxygen.css \
21	style/doxy-boot.js \
22	style/dynsections.js \
23	style/footer.html \
24	style/header.html \
25	style/layout.xml \
26	style/libevdevdoxygen.css \
27	style/LICENSE \
28	style/README.md \
29	style/style.css
30
31EXTRA_DIST = html/index.html $(doc_src) $(style_src)
32
33endif
34
35# make sure doc was built before running dist
36dist-hook:
37	@test -f $(distdir)/html/index.html || (\
38		echo "******************************************************" && \
39		echo "Couldn't find documentation files, refusing make dist." && \
40		echo "Install doxygen to build documentation for tarball." && \
41		echo "******************************************************" && \
42		test )
43