Skip to content

Commit fb6ea64

Browse files
committed
cmake: avoid man3 glob post processing
It doesn't seem needed, and is apparently resulting in at least one duplicated entry in the installation list that causes problems for uninstalling. Fixes: PCRE2Project#46 Signed-off-by: Carlo Marcelo Arenas Belón <[email protected]>
1 parent 4689060 commit fb6ea64

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,12 +1022,6 @@ FILE(GLOB html ${PROJECT_SOURCE_DIR}/doc/html/*.html)
10221022
FILE(GLOB man1 ${PROJECT_SOURCE_DIR}/doc/*.1)
10231023
FILE(GLOB man3 ${PROJECT_SOURCE_DIR}/doc/*.3)
10241024

1025-
FOREACH(man ${man3})
1026-
GET_FILENAME_COMPONENT(man_tmp ${man} NAME)
1027-
SET(man3_new ${man3} ${man})
1028-
ENDFOREACH(man ${man3})
1029-
SET(man3 ${man3_new})
1030-
10311025
INSTALL(FILES ${man1} DESTINATION man/man1)
10321026
INSTALL(FILES ${man3} DESTINATION man/man3)
10331027
INSTALL(FILES ${html} DESTINATION share/doc/pcre2/html)

0 commit comments

Comments
 (0)