summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-01-14 14:05:18 -0500
committerPaul Smith <psmith@gnu.org>2023-01-14 17:07:04 -0500
commitdb351fe85b57fe4368a1396fb0e8ea5814825e68 (patch)
treebbf2a38a1302c98c28024d61c4d79782d4ff7ba8 /maintMakefile
parent8a0d7fd4efec5147559a9c086289fb5b30956f6c (diff)
downloadmake-git-db351fe85b57fe4368a1396fb0e8ea5814825e68.tar.gz
Prerelease GNU Make 4.4.0.904.4.0.90
* NEWS: Update the date. * README.git: Fix a typo. * maintMakefile (check-alt-config): Report success. (upload-*): Use the gnulib gnupload script for uploads.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile37
1 files changed, 4 insertions, 33 deletions
diff --git a/maintMakefile b/maintMakefile
index 46723a2f..2747aad6 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -300,6 +300,7 @@ CONFIG_CHECKS := \
.PHONY: check-alt-config
check-alt-config: $(CONFIG_CHECKS)
+ @echo --- $@ SUCCESS
# Trick GNU Make so it doesn't run the submake as a recursive make.
NR_MAKE = $(MAKE)
@@ -503,42 +504,12 @@ tag-release:
# Sign it with my key. If you don't have my key/passphrase then sorry,
# you're SOL! :)
-GPG = gpg
-GPGFLAGS = -u $(GPG_KEYID)
-
-DIST_ARCHIVES_SIG = $(addsuffix .sig,$(DIST_ARCHIVES))
-DIST_ARCHIVES_DIRECTIVE = $(addsuffix .directive.asc,$(DIST_ARCHIVES))
-
-# A simple rule to test signing, etc.
-.PHONY: distsign
-distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
-
-%.sig : %
- @echo "Signing file '$<':"
- $(GPG) $(GPGFLAGS) -o "$@" -b "$<"
-
-%.directive.asc: %
- @echo "Creating signed directive file '$@':"
- @( \
- echo 'version: 1.2'; \
- echo 'directory: make'; \
- echo 'filename: $*'; \
- echo 'comment: Official upload of $(PACKAGE_NAME) version $(PACKAGE_VERSION)'; \
- ) > "$*.directive"
- $(GPG) $(GPGFLAGS) -o "$@" --clearsign "$*.directive"
- @rm -f "$*.directive"
-
-# Upload the artifacts
-
-FTPPUT := $(firstword $(shell command -v ncftpput) $(wildcard $(GNULIBDIR)/build-aux/ncftpput-ftp) invalid)
-gnu-upload-host = ftp-upload.gnu.org
-gnu-upload-dir = /incoming
-
+GNUPLOAD := $(GNULIBDIR)/build-aux/gnupload
UPLOADS = upload-alpha upload-ftp
.PHONY: $(UPLOADS)
-$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
- $(FTPPUT) "$(gnu-upload-host)" "$(gnu-upload-dir)/$(@:upload-%=%)" $^
+$(UPLOADS): upload-%: $(DIST_ARCHIVES)
+ $(GNUPLOAD) --user "$(GPG_KEYID)" --to "$*.gnu.org:make" -- $^
# Rebuild Makefile.in if this file is modified.