diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-04-27 06:45:46 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-04-27 06:45:46 +0000 |
commit | c8ece6473d1472b1dbbe3e0b1fb04ffea7d31d40 (patch) | |
tree | ae1624dffd6dc0d79799157376d6b563d7b84750 /docs/Makefile.am | |
parent | 678cfffd62e8df12134ece4eb54efda0ed4052d5 (diff) | |
download | pango-c8ece6473d1472b1dbbe3e0b1fb04ffea7d31d40.tar.gz |
Add --disable-doc-cross-references.
2007-04-27 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Add --disable-doc-cross-references.
* docs/Makefile.am: Make sure --disable-doc-cross-references is
set in order to make dist.
* Makefile.am: Add --disable-doc-cross-references to
DISTCHECK_CONFIGURE_FLAGS.
svn path=/trunk/; revision=2230
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r-- | docs/Makefile.am | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index 0446d96f..2b3cc0a2 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -79,9 +79,11 @@ HTML_IMAGES = \ layout.gif \ rotated-text.png +if ENABLE_DOC_CROSS_REFERENCES # Extra options to supply to gtkdoc-fixref FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \ --extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo +endif include $(top_srcdir)/gtk-doc.make @@ -104,7 +106,8 @@ EXTRA_DIST += \ BUILT_EXTRA_DIST = $(man_MANS) -dist-hook-local: +# force doc rebulid after configure +dist-hook-local: dist-local-check-no-cross-references maintainer-clean-local all-local files='$(BUILT_EXTRA_DIST)'; \ for f in $$files; do \ if test -f $$f; then d=.; else d=$(srcdir); fi; \ @@ -115,4 +118,17 @@ dist-hook-local: test -f $$f && cp -p $$f $(distdir)/TEXT; \ done +# +# Require gtk-doc when making dist +# +if ENABLE_DOC_CROSS_REFERENCES +dist-local-check-no-cross-references: + @echo "*** --disable-doc-cross-references must be used in order to make dist" + @false +else +dist-local-check-no-cross-references: +endif + +.PHONY: dist-local-check-no-cross-references + TESTS = check.docs |