From 159852698b601686443903367f78644db3a0f60d Mon Sep 17 00:00:00 2001 From: Jonathan Perkin Date: Tue, 27 Apr 2010 20:12:13 +0200 Subject: [PATCH] Try again --- man/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index aeee5824047..31603f64334 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -17,9 +17,8 @@ FILE(GLOB MAN1_FILES *.1) FILE(GLOB MAN8_FILES *.8) IF(MAN1_FILES) - INSTALL(FILES ${MAN1_FILES} DESTINATION ${INSTALL_MANDIR}/man1 - PATTERN "make_win_bin_dist.1" EXCLUDE - ) + LIST(REMOVE_ITEM MAN1_FILES "make_win_bin_dist.1" + INSTALL(FILES ${MAN1_FILES} DESTINATION ${INSTALL_MANDIR}/man1) ENDIF() IF(MAN8_FILES) INSTALL(FILES ${MAN8_FILES} DESTINATION ${INSTALL_MANDIR}/man8)