mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake export tests: Handle default output format 'pdf2' in manuals like 'default'
This is, because almost all manuals are now having pdf2 as default.
This commit is contained in:
parent
de4d43e609
commit
3ed174cc03
@ -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$")
|
||||
|
Loading…
Reference in New Issue
Block a user