bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emit_upload_commands target doesn't work for savannah.nongnu.org


From: Peter Simons
Subject: emit_upload_commands target doesn't work for savannah.nongnu.org
Date: Sun, 14 Feb 2010 15:34:49 +0100

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

[Prev in Thread] Current Thread [Next in Thread]