You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2016/12/09 20:54:59 UTC

qpid-dispatch git commit: DISPATCH-574 - Minor fix to make the build work with older cmake version

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 07eb9c404 -> e7bcfea40


DISPATCH-574 - Minor fix to make the build work with older cmake version


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e7bcfea4
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e7bcfea4
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e7bcfea4

Branch: refs/heads/master
Commit: e7bcfea402852524ad4ef3c50795fb7cbecebf67
Parents: 07eb9c4
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Fri Dec 9 15:54:36 2016 -0500
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Fri Dec 9 15:54:36 2016 -0500

----------------------------------------------------------------------
 doc/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e7bcfea4/doc/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 894bfc7..0fc7435 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -110,7 +110,7 @@ if(BUILD_DOCS)
     file(GLOB_RECURSE ADOC_SRC *.adoc)
     foreach(source index book/book man/qdmanage.8 man/qdrouterd.8 man/qdstat.8 man/qdrouterd.conf.5)
       get_filename_component(name ${source} NAME)
-      get_filename_component(dir ${source} DIRECTORY)
+      get_filename_component(dir ${source} PATH)
       string(FIND ${name} "." dot)
       if(dot GREATER 0)
         string(LENGTH ${name} length)
@@ -136,7 +136,7 @@ if(BUILD_DOCS)
       # Generate man pages.
       foreach(source ${bin}/man/qdmanage.8 ${bin}/man/qdrouterd.8 ${bin}/man/qdstat.8 ${bin}/man/qdrouterd.conf.5)
         get_filename_component(name ${source} NAME)
-        get_filename_component(dir ${source} DIRECTORY)
+        get_filename_component(dir ${source} PATH)
         string(REGEX REPLACE ".*\\.([0-9])$" "\\1" section ${source}) # Man section number
         set(output ${bin}/${name})
         add_custom_command(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org