[Kst] branches/work/kst/portto4/kst

Peter Kümmel syntheticpp at gmx.net
Tue Feb 22 22:30:37 CET 2011


SVN commit 1222332 by kuemmel:

add man file

 M  +7 -0      cmake/src/kst/CMakeLists.txt  
 A             src/kst/kst.1.txt  


--- branches/work/kst/portto4/kst/cmake/src/kst/CMakeLists.txt #1222331:1222332
@@ -34,6 +34,13 @@
 
 
 if(UNIX AND NOT APPLE)
+	
+	set(man ${CMAKE_BINARY_DIR}/kst.1)
+	configure_file(${kst_dir}/src/kst/kst.1.txt ${man}.txt)
+	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E tar czf ${man}.gz ${man}.txt)")
+	set_source_files_properties(${man}.gz PROPERTIES GENERATED TRUE) 
+	install(FILES ${man}.gz DESTINATION share/man/man1)
+	
 	set(k ${kst_dir}/src/kst)
 	install(FILES ${k}/kstplugin.desktop
 	              ${k}/kstdatasourceplugin.desktop


More information about the Kst mailing list