www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - STLSoft: unpack distribution in single new directory?

reply Martin Moene <m.j.moene eld.physics.LeidenUniv.nl> writes:
Hi Matthew,

Currently, the STLSoft distribution unpacks into several files and 
directories. However it is quite commonly expected to unpack in a single 
new directory (See quote below).

Would this be a good idea for the STLSoft libraries?

Regards,
Martin Moene.
___

from http://www.faqs.org/docs/artu/ch19s02.html#distpractice :

Good Distribution-Making Practice

These guidelines describe how your distribution should look when someone 
downloads, retrieves and unpacks it.

Make sure tarballs always unpack into a single new directory.

The single most annoying mistake fledgling contributors make is to build 
tarballs that unpack the files and directories in the distribution into 
the current directory, potentially overwriting files already located 
there. Never do this!

Instead, make sure your archive files all have a common directory part 
named after the project, so they will unpack into a single top-level 
directory directly beneath the current one. Conventionally, the name of 
the directory should be the same as the stem of the tarball's name. So, 
for example, a tarball named foo-0.23.tar.gz is expected to unpack into 
a subdirectory named foo-0.23.
Jan 08 2007
parent Matthew Wilson <no-one nowhere.nohow> writes:
Martin Moene Wrote:

 Hi Matthew,
 
 Currently, the STLSoft distribution unpacks into several files and 
 directories. However it is quite commonly expected to unpack in a single 
 new directory (See quote below).
 
 Would this be a good idea for the STLSoft libraries?

Yes. :-)
Jan 09 2007