Next: , Previous: , Up: The Macros  





Adds support for uploading dist files. %%s in the command will be substituted with the name of the file. e.g:

   AX_UPLOAD([ncftpput -v /incoming %%s])

To add upload support for other custom dists add upload-<TYPE> to UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being uploaded and add a mapping from <TYPE> to the dist file name in the format ’{<TYPE>=><FILENAME>}’ to UPLOAD_TARGETS. For example:

  UPLOAD_BIN += upload-foobar

You can then upload of the src distribution files by running:

  make upload-src

all the binary distribution files by running:

  make upload-bin

or both by running:

  make upload

Source Code

Download the latest version of ax_upload.m4 or browse the macro’s revision history.


Copyright © 2009 Tom Howard

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.