Next: , Previous: , Up: Automated FTP Uploads   [Contents][Index]


11.6.5 FTP Upload Directory Trees

You can make any directory hierarchy you like under your package directory. The system automatically creates any intermediate directories you specify in the directory directive.

Slightly modifying the example above, the following directive file:

version: 1.2
directory: foo/foo-1.0
filename: foo-1.0.tar.gz
comment: creates per-version subdirectory as needed

would put the tar file in the foo-1.0/ subdirectory of the package foo, thus ending up at ‘ftp.gnu.org:gnu/foo/foo-1.0/foo-1.0.tar.gz’.

However, to keep things simpler for users, we recommend not using subdirectories, unless perhaps each release of your package consists of many separate files.