You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcmis/0003-rename-DOCBOOK2X-to-DO...

52 lines
1.4 KiB

From b1c108ce364e8133b75787db1a7aa9e0fcd722c9 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 19 Dec 2012 14:35:49 +0100
Subject: [PATCH 3/4] rename DOCBOOK2X to DOCBOOK2MAN
---
Makefile.am | 2 +-
configure.ac | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8ee37fb..8b02a95 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,7 @@ pkgconfigdir = $(libdir)/pkgconfig
if WITH_LIBCMIS_MAN
cmis-client.1: doc/cmis-client.xml
- $(DOCBOOK2X) $<
+ $(DOCBOOK2MAN) $<
install-man: cmis-client.1
mkdir -p $(DESTDIR)$(mandir)/man1/
diff --git a/configure.ac b/configure.ac
index 85ac16b..e45d9c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,15 +66,15 @@ AC_ARG_WITH(man,
)
AS_IF([test "x$with_man" != "xno"], [
build_man=yes
- AC_PATH_PROG(DOCBOOK2X,[docbook-to-man])
- AS_IF([test -z "$DOCBOOK2X"], [
- AC_PATH_PROG(DOCBOOK2X,[docbook2man.pl])
- AS_IF([test -z "$DOCBOOK2X"], [
+ AC_PATH_PROG(DOCBOOK2MAN,[docbook-to-man])
+ AS_IF([test -z "$DOCBOOK2MAN"], [
+ AC_PATH_PROG(DOCBOOK2MAN,[docbook2man.pl])
+ AS_IF([test -z "$DOCBOOK2MAN"], [
AC_MSG_ERROR([docbook-to-man is missing. Install docbook2X package.])
])
])
], [build_man=no])
-AC_SUBST(DOCBOOK2X)
+AC_SUBST(DOCBOOK2MAN)
AM_CONDITIONAL([WITH_LIBCMIS_MAN], [test "x$build_man" != "xno"])
AC_ARG_ENABLE([werror],
--
1.8.0