commit 3ed174cc03b9ca14f1c8e09dd990d9eb0b4461b4
Author: Kornel Benko <[email protected]>
Date:   Sun Dec 13 12:31:43 2015 +0100

    Cmake export tests: Handle default output format 'pdf2' in manuals like 
'default'
    
    This is, because almost all manuals are now having pdf2 as default.

diff --git a/development/autotests/ExportTests.cmake 
b/development/autotests/ExportTests.cmake
index 6c5e494..c14dd96 100644
--- a/development/autotests/ExportTests.cmake
+++ b/development/autotests/ExportTests.cmake
@@ -54,6 +54,8 @@ macro(getoutputformats filepath varname)
       set(_format ${CMAKE_MATCH_1})
       if(_format STREQUAL "default")
         set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
+      elseif(_format STREQUAL "pdf2" AND "${filepath}" MATCHES "/doc/")
+        set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
       elseif(_format MATCHES "pdf$")
         set(out_formats "xhtml" ${PDF_FORMATS})
       elseif(_format MATCHES "dvi$")

Reply via email to