diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-06-30 15:46:52 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-01 17:42:28 +0100 |
commit | 9566d69f123189ae447f5ca4c93db9440656cadd (patch) | |
tree | 4d93183851291efd794e7a7bdac28b7a1c1d6e96 /docs | |
parent | 665c900247f03f567b907b24eb0fc30667f5c78f (diff) |
Improve documentation build rules
Ensure that the documentation is rebuilt if any of the sources files it's
extracted from change.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index 4c29331..b93f96e 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -23,8 +23,10 @@ img_DATA = \ $(doc_data) $(innerdoc_DATA) $(img_DATA): folks-0.1/index.html -folks-0.1/index.html: +# The Vala files which will have documentation extracted from them +doc_files = $(top_srcdir)/folks/*.vala + +folks-0.1/index.html: $(doc_files) $(VALADOC) -o folks-0.1/ --force -b $(top_srcdir) \ --pkg=gee-1.0 --pkg=gio-2.0 --pkg=gmodule-2.0 --pkg=build-conf \ - --vapidir=$(top_srcdir)/folks \ - $(top_srcdir)/folks/*.vala + --vapidir=$(top_srcdir)/folks $(doc_files) |