doxygen: fix 'dist' when the html docs have not yet been built
authorGaetan Nadon <memsize@videotron.ca>
Sun, 24 Nov 2013 13:02:33 +0000 (08:02 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 25 Nov 2013 00:40:05 +0000 (10:40 +1000)
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@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/Makefile.am

index 2220eb7bbe65c90d6e78b6fd91dd9b4fef997378..f97b3ac7a3ea1352f783ec99562f067027f495a1 100644 (file)
@@ -13,7 +13,7 @@ clean-local:
        $(AM_V_at)rm -rf html
 
 doc_src= $(shell find 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
 
 endif