summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-05-02 14:49:47 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-05-02 14:49:47 -0700
commit1ff9d8a7c9e5ab784b0bed38e968b3d56c434cad (patch)
tree0fbbf03bd84b0877a636ce8c0bb5b6b46408b810 /man
parent81a8a71d888d16989a096195dfd96b10fadeba5d (diff)
Give more explicit warning messages if xmlto is needed but not found
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 0cd6d0a..8ff4f37 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -59,7 +59,7 @@ MAN_SUBSTS = \
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
-SUFFIXES = .$(LIB_MAN_SUFFIX) .man
+SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
.man.$(LIB_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
@@ -69,10 +69,9 @@ SUFFIXES = .$(LIB_MAN_SUFFIX) .man
dist-hook: $(libman_PRE)
if HAVE_XMLTO
-SUFFIXES += .xml
-
.xml.man:
$(XMLTO) man $< && mv $*.__libmansuffix__ $@
-
-
-endif HAVE_XMLTO
+else
+.xml.man:
+ @echo "WARNING: configure did not find xmlto, cannot create $@ without it"
+endif