[master] Revised CMakeLists.txt to put the man pages in share/man/man*

not in man/man*
This commit is contained in:
Glenn Randers-Pehrson 2010-08-21 18:36:29 -05:00
parent 48afdb4eef
commit 547afcfc74
3 changed files with 7 additions and 5 deletions

View File

@ -62,7 +62,8 @@ version 1.4.4beta07 [August 21, 2010]
Updated prebuilt aclocal.m4 and ltmain.sh
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
Update CMakelists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
installing libpng in /usr/lib64 (FundaWang).
installing libpng in /usr/lib64 (Funda Wang).
Revise CMakeLists.txt to put the man pages in share/man/man* not man/man*
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -2645,8 +2645,9 @@ version 1.4.4beta06 [August 11, 2010]
version 1.4.4beta07 [August 21, 2010]
Updated prebuilt aclocal.m4 and ltmain.sh
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
Update CMakelists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
installing libpng in /usr/lib64 (FundaWang).
Update CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
installing libpng in /usr/lib64 (Funda Wang).
Revise CMakeLists.txt to put the man pages in share/man/man* not man/man*
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -256,8 +256,8 @@ if(NOT SKIP_INSTALL_EXECUTABLES AND NOT SKIP_INSTALL_ALL )
endif()
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
# Install man pages
install(FILES libpng.3 libpngpf.3 DESTINATION man/man3)
install(FILES png.5 DESTINATION man/man5)
install(FILES libpng.3 libpngpf.3 DESTINATION share/man/man3)
install(FILES png.5 DESTINATION share/man/man5)
# Install pkg-config files
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libpng.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)