summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-12-21 19:40:06 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-12-21 19:40:06 +0000
commit7972c32a30442a84764d4bb03e7a950e4703ca61 (patch)
tree73f80ae9f240657812065687b16268c587a4495d
parentdfa82a5ea680c65ca25c280d2c52bb9342b08cd7 (diff)
downloadpango-7972c32a30442a84764d4bb03e7a950e4703ca61.tar.gz
Bug 504802 – build failure: No rule to make target
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. * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't exsits (SVN checkout) and --enable-man is not used. svn path=/trunk/; revision=2530
-rw-r--r--ChangeLog8
-rw-r--r--docs/Makefile.am10
2 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 76d2a947..a48627ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
+ * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't
+ exsits (SVN checkout) and --enable-man is not used.
+
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
Bug 504585 – pango-querymodules.1 syntax error
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 5bbdfb7e..cfc20e3f 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -96,11 +96,15 @@ include $(top_srcdir)/gtk-doc.make
########################################################################
man_MANS = pango-querymodules.1
-
+BUILT_EXTRA_DIST = $(man_MANS)
+MAINTAINERCLEANFILES = $(man_MANS)
if ENABLE_MAN
-
.xml.1:
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+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 > $@
endif
EXTRA_DIST += \
@@ -109,8 +113,6 @@ EXTRA_DIST += \
version.xml.in \
check.docs
-BUILT_EXTRA_DIST = $(man_MANS)
-
# force doc rebulid after configure
dist-hook-local: dist-local-check-no-cross-references maintainer-clean-local all-local
files='$(BUILT_EXTRA_DIST)'; \