[PATCH libevdev 07/10] doxygen: fix 'make dist' from tarball when doxygen is missing

Gaetan Nadon memsize at videotron.ca
Sun Nov 24 05:02:31 PST 2013


Needs an EXTRA_DIST even when doxygen is not installed.
The tarballs do have the html dir already included.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 doc/Makefile.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 2220eb7..4389f16 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -12,11 +12,12 @@ html/index.html: libevdev.doxygen $(header_files)
 clean-local:
 	$(AM_V_at)rm -rf html
 
+endif
+
+# You may run 'make dist' from a tarball when doxygen is not installed
 doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null)
 EXTRA_DIST = $(doc_src) libevdev.css
 
-endif
-
 # make sure doc was built before running dist
 dist-hook:
 	@test -f $(distdir)/html/index.html || (\
-- 
1.7.9.5



More information about the Input-tools mailing list