mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-28 15:57:48 +00:00
Fix FTP upload rules.
This commit is contained in:
parent
c7b469f0f3
commit
8a0f9d7b42
1 changed files with 5 additions and 3 deletions
|
@ -245,7 +245,7 @@ distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
|
||||||
%.directive.asc: %
|
%.directive.asc: %
|
||||||
@echo "Creating directive file '$@':"
|
@echo "Creating directive file '$@':"
|
||||||
@( \
|
@( \
|
||||||
echo 'verstion: 1.1'; \
|
echo 'version: 1.1'; \
|
||||||
echo 'directory: make'; \
|
echo 'directory: make'; \
|
||||||
echo 'filename: $*'; \
|
echo 'filename: $*'; \
|
||||||
echo 'comment: Official upload of GNU make version $(VERSION)'; \
|
echo 'comment: Official upload of GNU make version $(VERSION)'; \
|
||||||
|
@ -256,12 +256,14 @@ distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
|
||||||
# Upload the artifacts
|
# Upload the artifacts
|
||||||
|
|
||||||
FTPPUT = ncftpput
|
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
|
UPLOADS = upload-alpha upload-ftp
|
||||||
.PHONY: $(UPLOADS)
|
.PHONY: $(UPLOADS)
|
||||||
$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
|
$(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,
|
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||||
|
|
Loading…
Reference in a new issue