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 <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Gaetan Nadon 2013-11-24 08:02:33 -05:00 committed by Peter Hutterer
parent dd016ebc3f
commit c495cb42c0

View file

@ -13,7 +13,7 @@ clean-local:
$(AM_V_at)rm -rf html $(AM_V_at)rm -rf html
doc_src= $(shell find html -type f -printf "html/%P\n" 2>/dev/null) 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 endif