cmake: man: use txtfile directly
This helps with warnings: > [ 94%] Generating manpages/de/man1/awesome.1 > asciidoctor: WARNING: awesome.1.de.txt: line 10: unterminated listing block > [ 94%] Generating manpages/de/man1/awesome.1.gz > … > [ 98%] Built target man
This commit is contained in:
parent
6d2fc5c12b
commit
6be0f39454
|
@ -239,7 +239,7 @@ if(GENERATE_MANPAGES)
|
||||||
set(asciilang ${lang})
|
set(asciilang ${lang})
|
||||||
endif()
|
endif()
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} -a lang=${asciilang} -d manpage -b manpage -o ${manfile} - < ${txtfile}
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} -a lang=${asciilang} -d manpage -b manpage -o ${manfile} ${txtfile}
|
||||||
WORKING_DIRECTORY ${BUILD_DIR}/${relpath2}
|
WORKING_DIRECTORY ${BUILD_DIR}/${relpath2}
|
||||||
OUTPUT ${manfile}
|
OUTPUT ${manfile}
|
||||||
DEPENDS ${txtfile}
|
DEPENDS ${txtfile}
|
||||||
|
|
Loading…
Reference in New Issue