On Thursday 04 May 2006 00:25, Filipe Sousa wrote: > On Wednesday 03 May 2006 23:08, Craig Bradney wrote: > > On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: > > > On Wednesday 03 May 2006 22:36, Craig Bradney wrote: > > > > Hi, > > > > > > > > Are there any examples of a autotools make dist replacement out > > > > there? Have people moved to a shell script instead or is there a > > > > cmake/make target possible? > > > > > > > > thanks > > > > Craig > > > > Scribus Team > > > > > > make package_source for source > > > make package for binaries > > > > Oh? Doesn't work here? CMake is CVS from yesterday. > > > > Craig > > _______________________________________________ > > CMake mailing list > > CMake@cmake.org > > http://www.cmake.org/mailman/listinfo/cmake > > Works here and you don't need the last version from CVS > > [EMAIL PROTECTED] ~/build/lua $ make package > Run CPack packaging tool... > CPack: Install projects > CPack: - Run preinstall target for: Lua > CPack: - Install project: Lua > CPack: Compress package > CPack: Finalize package > CPack: Package /home/fsousa/build/lua/Lua-5.1.0-Linux.sh generated. > [EMAIL PROTECTED] ~/build/lua $ make package_source > Run CPack packaging tool for source... > CPack: Install projects > CPack: - Install directory: /home/fsousa/projects/lua > CPack: Compress package > CPack: Finalize package > CPack: Package /home/fsousa/build/lua/Lua-5.1.0-Source.tar.gz generated. > [EMAIL PROTECTED] ~/build/lua $ cmake --version > cmake version 2.5-20060426 > > For this to work you have to add CPack support at the bottom of > CMakeLists.txt. In my case I have: > > # > # Packing stuff > # > SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The Programming Language Lua") > SET(CPACK_PACKAGE_VENDOR "Lua") > SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") > SET(CPACK_PACKAGE_VERSION_MAJOR "5") > SET(CPACK_PACKAGE_VERSION_MINOR "1") > SET(CPACK_PACKAGE_VERSION_PATCH "0") > SET(CPACK_PACKAGE_EXECUTABLES "lua" "lua") > INCLUDE(CPack) > > For a more comple example have a look at CMakeLists.txt of cmake: > http://public.kitware.com/cgi-bin/viewcvs.cgi/CMakeLists.txt?rev=1.104&root >=CMake&view=markup
Ah! Legend.. thanks heaps. I'll sort the rest, ie copy and change :) Craig _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake