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 5b8ad722a1
commit b473a6fe66
1 changed files with 2 additions and 2 deletions

View File

@ -326,9 +326,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 )