From: Gaetan Nadon Date: Sun, 24 Nov 2013 13:02:33 +0000 (-0500) Subject: doxygen: fix 'dist' when the html docs have not yet been built X-Git-Tag: libevdev-0.6~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c495cb42c0425217ae092c5476af61b0e63388cd;p=platform%2Fupstream%2Flibevdev.git doxygen: fix 'dist' when the html docs have not yet been built 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 Signed-off-by: Peter Hutterer --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 2220eb7..f97b3ac 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 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