On Fri, Nov 22, 2013 at 03:54:38PM +0100, Tino Keitel wrote: > Hi, > > for integration in an existing build infrastructure, I want to use > cpack with the TGZ generator to create packages that have the > current directory (./) as the first path component. The content of > the archive would look like this: > > $ tar tf test.tar.gz > ./x/ > ./x/foo > > cpack currently creates packages without this component, such that > the archive looks like this: > > $ tar tf test.tar.gz > x/ > x/foo > > How can I configure cpack to create archives with a directory > structure like in the first example above?
I may be missing something, but from the view of the unpacker of the TGZ-ball the two are equivalent, right? So why do you prefer the './x/...' over 'x/...'? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: [email protected] jabber: [email protected] twitter: magthe http://therning.org/magnus I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. -- Alan Kay
pgpGP8pdi7dJu.pgp
Description: PGP signature
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
