2007-12-21 Behdad Esfahbod <behdad@gnome.org>
+ * docs/Makefile.am: Check for dummy man pages in dist-local.
+
+2007-12-21 Behdad Esfahbod <behdad@gnome.org>
+
Bug 504802 – build failure: No rule to make target
`pango-querymodules.1', needed by `all-am'. Stop.
if ENABLE_MAN
.xml.1:
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+dist-local-check-mans-enabled:
+ @if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
else
$(man_MANS):
@echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
@echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild Pango > $@
+dist-local-check-mans-enabled:
+ @echo "*** --enable-man must be used in order to make dist"
+ @false
endif
EXTRA_DIST += \
check.docs
# force doc rebulid after configure
-dist-hook-local: dist-local-check-no-cross-references maintainer-clean-local all-local
+dist-hook-local: dist-local-check-mans-enabled 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; \