libevdev/doc/Makefile.am
Gaetan Nadon 83d679f1a1 doxygen: remove redundant "dist_noinst_DATA = libevdev.doxygen.in" statement
All .in files in AC_CONFIG_FILES are distributed.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-11-25 10:24:30 +10:00

23 lines
625 B
Makefile

if HAVE_DOXYGEN
all-local: doxygen
doxygen: libevdev.doxygen
$(AM_V_GEN)$(DOXYGEN) $<
clean-local:
$(AM_V_at)rm -rf html
.PHONY: doxygen
doc_src= $(shell find html -type f -printf "html/%P\n")
EXTRA_DIST = $(doc_src) libevdev.css
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 )