Create release version using tar

view full story

http://unix.stackexchange.com – I have a project with the usual stuff (source code, yadda, yadda) and I want to have a command to Scons (but it could be whatever build system to be honest) that will do the following: Build the system -- this is easy. Create a tar ball of the system -- this is easy. When the content of the tar ball are extracted, they extract in a fubar-VERSION/ directory -- this is the tricky part. I can do the latter manually by creating a symlink, then taring from one directory above the project one but that feel inelegant. Any idea? To clarify, I want to be able to do this: ; pwd ~/project ; scons (HowTos)