summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-07-07 02:06:48 +0000
committerPaul Smith <psmith@gnu.org>2010-07-07 02:06:48 +0000
commit4678aeb13ef41dd049d471d91841a9ff0bb71587 (patch)
tree51df3d7f71200481347f52c3eec04103d957ee54 /maintMakefile
parent4a000c8c55e7a33d759b349cc14046b75e7040e2 (diff)
downloadmake-4678aeb13ef41dd049d471d91841a9ff0bb71587.tar.gz
Fix FTP upload rules.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/maintMakefile b/maintMakefile
index 1e931ff2..5b478223 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -245,7 +245,7 @@ distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
%.directive.asc: %
@echo "Creating directive file '$@':"
@( \
- echo 'verstion: 1.1'; \
+ echo 'version: 1.1'; \
echo 'directory: make'; \
echo 'filename: $*'; \
echo 'comment: Official upload of GNU make version $(VERSION)'; \
@@ -256,12 +256,14 @@ distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
# Upload the artifacts
FTPPUT = ncftpput
-gnu-url = ftp-upload.gnu.org /incoming
+gnu-upload-host = ftp-upload.gnu.org
+gnu-upload-dir = /incoming
+
UPLOADS = upload-alpha upload-ftp
.PHONY: $(UPLOADS)
$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
- $(FTPPUT) "$(gnu-url)/$(@:upload-%=%)" $^
+ $(FTPPUT) "$(gnu-upload-host)" "$(gnu-upload-dir)/$(@:upload-%=%)" $^
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,