cmake: avoid man3 glob post processing (#48)
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: #46 Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
This commit is contained in:
parent
055b7ce4a9
commit
d24a1c9d31
|
@ -1028,12 +1028,6 @@ FILE(GLOB html ${PROJECT_SOURCE_DIR}/doc/html/*.html)
|
||||||
FILE(GLOB man1 ${PROJECT_SOURCE_DIR}/doc/*.1)
|
FILE(GLOB man1 ${PROJECT_SOURCE_DIR}/doc/*.1)
|
||||||
FILE(GLOB man3 ${PROJECT_SOURCE_DIR}/doc/*.3)
|
FILE(GLOB man3 ${PROJECT_SOURCE_DIR}/doc/*.3)
|
||||||
|
|
||||||
FOREACH(man ${man3})
|
|
||||||
GET_FILENAME_COMPONENT(man_tmp ${man} NAME)
|
|
||||||
SET(man3_new ${man3} ${man})
|
|
||||||
ENDFOREACH(man ${man3})
|
|
||||||
SET(man3 ${man3_new})
|
|
||||||
|
|
||||||
INSTALL(FILES ${man1} DESTINATION man/man1)
|
INSTALL(FILES ${man1} DESTINATION man/man1)
|
||||||
INSTALL(FILES ${man3} DESTINATION man/man3)
|
INSTALL(FILES ${man3} DESTINATION man/man3)
|
||||||
INSTALL(FILES ${html} DESTINATION share/doc/pcre2/html)
|
INSTALL(FILES ${html} DESTINATION share/doc/pcre2/html)
|
||||||
|
|
Loading…
Reference in New Issue