[sdformat] Remove latex commands from cmakelists.txt

rmattes rmattes at fedoraproject.org
Sat Jan 31 17:53:10 UTC 2015


commit 71983b52c3764dad3536cdaa7974a6ef0030890d
Author: Rich Mattes <richmattes at gmail.com>
Date:   Sat Jan 31 12:50:13 2015 -0500

    Remove latex commands from cmakelists.txt

 sdformat-2.0.1-latex.patch |   17 +++++++++++++++--
 sdformat.spec              |    1 +
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/sdformat-2.0.1-latex.patch b/sdformat-2.0.1-latex.patch
index 1bd73e6..ca17434 100644
--- a/sdformat-2.0.1-latex.patch
+++ b/sdformat-2.0.1-latex.patch
@@ -1,6 +1,19 @@
+diff -up ./doc/CMakeLists.txt.latex ./doc/CMakeLists.txt
+--- ./doc/CMakeLists.txt.latex	2015-01-31 12:49:05.006191779 -0500
++++ ./doc/CMakeLists.txt	2015-01-31 12:49:20.322782756 -0500
+@@ -13,9 +13,6 @@ if (DOXYGEN_FOUND)
+             ${CMAKE_BINARY_DIR}/doxygen/html
+     COMMAND cp ${CMAKE_SOURCE_DIR}/doc/search.js
+             ${CMAKE_BINARY_DIR}/doxygen/html/search
+-    COMMAND make -C ${CMAKE_BINARY_DIR}/doxygen/latex
+-    COMMAND mv ${CMAKE_BINARY_DIR}/doxygen/latex/refman.pdf
+-    ${CMAKE_BINARY_DIR}/doxygen/latex/sdf-${SDF_VERSION_FULL}.pdf
+ 
+     COMMENT "Generating API documentation with Doxygen" VERBATIM)
+ endif()
 diff -up ./doc/sdf.in.latex ./doc/sdf.in
---- ./doc/sdf.in.latex	2015-01-31 12:33:40.511547889 -0500
-+++ ./doc/sdf.in	2015-01-31 12:33:56.970334851 -0500
+--- ./doc/sdf.in.latex	2015-01-31 12:51:34.554962874 -0500
++++ ./doc/sdf.in	2015-01-31 12:51:43.026289868 -0500
 @@ -1234,7 +1234,7 @@ SERVER_BASED_SEARCH    = NO
  # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
  # generate Latex output.
diff --git a/sdformat.spec b/sdformat.spec
index 58b4ef3..46dfe2f 100644
--- a/sdformat.spec
+++ b/sdformat.spec
@@ -59,6 +59,7 @@ The %{name}-doc package contains development documentation for
 %patch0 -p0 -b .urdfdom
 %patch1 -p0 -b .gtest
 %patch2 -p1 -b .urdf3
+%patch3 -p0 -b .latex
 # Remove bundled urdf components
 rm -rf src/urdf
 rm -rf test/gtest


More information about the scm-commits mailing list