[PATCH libevdev 09/10] doxygen: fix 'dist' when the html docs have not yet been built

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


The reason why this did not work is that we do not have a fixed list
of html doc files and it would be  pain to maintain.

The 'find' hack gets a list of html files but only when the package
has already been built. Let's complement this hack with the
html/index.html file which act as a build trigger as it is the target name.

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

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7cdd7ea..f8d2eb6 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,7 +13,7 @@ clean-local:
 	$(AM_V_at)rm -rf html
 
 doc_src= $(shell find $(builddir)/html -type f -printf "html/%P\n" 2>/dev/null)
-EXTRA_DIST = $(doc_src) libevdev.css
+EXTRA_DIST = $(builddir)/html/index.html $(doc_src) libevdev.css
 
 else
 
-- 
1.7.9.5



More information about the Input-tools mailing list