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

Peter Kümmel syntheticpp at gmx.net
Tue Feb 22 22:54:34 CET 2011


SVN commit 1222343 by kuemmel:

add man file: fix man file name

 M  +3 -3      CMakeLists.txt  


--- branches/work/kst/portto4/kst/cmake/src/kst/CMakeLists.txt #1222342:1222343
@@ -35,9 +35,9 @@
 
 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(man ${CMAKE_BINARY_DIR}/${kst_binary_name}.1)
+	configure_file(${kst_dir}/src/kst/kst.1.txt ${man})
+	install(CODE "execute_process(COMMAND gzip ${man})")
 	set_source_files_properties(${man}.gz PROPERTIES GENERATED TRUE) 
 	install(FILES ${man}.gz DESTINATION share/man/man1)
 	


More information about the Kst mailing list