doc: make rebuilds doxygen output on code changes
authorBill Spitzak <spitzak@gmail.com>
Wed, 12 Nov 2014 02:42:54 +0000 (18:42 -0800)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 25 Nov 2014 13:45:03 +0000 (15:45 +0200)
Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
doc/publican/Makefile.am

index cf0f533..b30a471 100644 (file)
@@ -82,7 +82,7 @@ en-US/ProtocolInterfaces.xml: $(top_srcdir)/protocol/wayland.xml $(srcdir)/proto
 #   move it out of the way first.
 # * use doxygen's combine.xslt to merge the xml files into one single file
 # * move wayland-<foo>_8h.xml back to its original location
-en-US/%API.xml.tmp:
+en-US/%API.xml.tmp: $(top_builddir)/doc/doxygen/xml/%/index.xml
        $(AM_V_GEN)mv $(top_builddir)/doc/doxygen/xml/$*/wayland-$*_8h.xml \
                $(top_builddir)/doc/doxygen/xml/
        $(AM_V_GEN)$(XSLTPROC) $(top_builddir)/doc/doxygen/xml/$*/combine.xslt \