Hi,

I'm using gnulib for the autoconf-archive project. To upload a new release,
I have to use the following invocation of gnupload:

  ./build-aux/gnupload --to dl.sv.nongnu.org:/releases/autoconf-archive/ file1 
file2 ...

Now, it doesn't seem possible to configure gnulib's emit_upload_commands
target to produce that command correctly. I've tried setting $(gnu_rel_host)
to "dl.sv.nongnu.org:/releases/autoconf-archive/", but unfortunately
emit_upload_commands appends the contents of $(PACKAGE) to that variable
unconditionally:

  emit_upload_commands:
          @echo =====================================
          @echo =====================================
          @echo "$(build_aux)/gnupload $(GNUPLOADFLAGS) \\"
          @echo "    --to $(gnu_rel_host):$(PACKAGE) \\"
          @echo "  $(rel-files)"
          @echo '# send the ~/announce-$(my_distdir) e-mail'
          @echo =====================================
          @echo =====================================

In case of the Autoconf Archive, the outcome of "$(gnu_rel_host):$(PACKAGE)"
is never going to be correct, because there of the '/releases' bit at the
beginning of the path.

Does anyone have a suggestion how to best remedy that problem?

Take care,
Peter



Reply via email to