On the Mac, texi2pdf doesn't have a --tidy option

This commit is contained in:
John Wiegley 2013-01-16 17:40:39 -06:00
parent 3ed53b7b3c
commit 23483b7973

View file

@ -42,7 +42,7 @@ foreach(file ${info_files})
mesage(WARNING "Could not find texi2pdf. PDF version of documentation will not be built.")
else()
add_custom_command(OUTPUT ${file_base}.pdf
COMMAND texi2pdf -b -q --tidy -o ${file_base}.pdf ${CMAKE_CURRENT_SOURCE_DIR}/${file}
COMMAND texi2pdf -b -q -o ${file_base}.pdf ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file}
VERBATIM)
list(APPEND ledger_doc_files ${file_base}.pdf)