Do not install txt manpages files

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Renato Botelho 2010-05-20 19:57:10 +02:00 committed by Julien Danjou
parent 4ed587206e
commit 1f57213322
1 changed files with 2 additions and 2 deletions

View File

@ -330,9 +330,9 @@ install(FILES ${AWE_CONF_FILE_DEFAULT} DESTINATION ${AWESOME_SYSCONFDIR}
RENAME ${AWE_CONF_FILE})
if(GENERATE_MANPAGES)
if(COMPRESS_MANPAGES)
set(regex "\\.(xml|[0-9])$")
set(regex "\\.(xml|txt|[0-9])$")
else()
set(regex "\\.(xml|gz)$")
set(regex "\\.(xml|txt|gz)$")
endif()
install(DIRECTORY ${BUILD_DIR}/${relpath}/ DESTINATION ${AWESOME_MAN_PATH}
REGEX ${regex} EXCLUDE )