diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2006-06-28 04:14:07 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-06-28 04:14:07 +0200 |
commit | 92021d169fea48eed9349e5821353f976df56be1 (patch) | |
tree | 2b21298607e7e125af1bd6eddf21dff749127c1c /gtk-doc.make | |
parent | 0d073c2e86ced3a94ef76e7e4c2a00f8fb76efb1 (diff) |
Make docs not build by "make all", but by "make doc", "make dist", and "make
install".
Diffstat (limited to 'gtk-doc.make')
-rw-r--r-- | gtk-doc.make | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk-doc.make b/gtk-doc.make index d50629a1..a1fbac68 100644 --- a/gtk-doc.make +++ b/gtk-doc.make @@ -41,7 +41,7 @@ SCANOBJ_FILES = \ CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS) if ENABLE_GTK_DOC -all-local: html-build.stamp +doc: html-build.stamp #### scan #### @@ -88,6 +88,8 @@ sgml.stamp: sgml-build.stamp #### html #### +dist-hook install-data-local: html-build.stamp + html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo 'gtk-doc: Building HTML' @-chmod -R u+w $(srcdir) @@ -99,7 +101,9 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) touch html-build.stamp else -all-local: +doc: + @echo "*** gtk-doc must be installed and enabled in order to make doc" + @false endif ############## |