summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@gnu.org>2018-02-03 14:46:17 +0100
committerAndreas Gruenbacher <agruen@gnu.org>2018-02-03 14:46:17 +0100
commit107e1cecfc79385fa61a096878456e0cafee76aa (patch)
tree5573ca86711da5cc99f62001c8c79815ae3ca5ec
parente6da0b81bf84895ff26f869529787711cfb4f0cd (diff)
downloadpatch-107e1cecfc79385fa61a096878456e0cafee76aa.tar.gz
Switch to gnupload module
* bootstrap.conf: use gnupload module. * (RELEASE_TYPE): Define, as maint.mk expects it to be defined. (tell-upload): Remove obsolete target.
-rw-r--r--Makefile.am13
-rw-r--r--bootstrap.conf1
2 files changed, 3 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index b040181..947ec88 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,8 +31,10 @@ EXTRA_DIST = \
if ALPHA_VERSION
EXTRA_DIST += README-alpha
GNU_SERVER = alpha.gnu.org
+ RELEASE_TYPE = alpha
else
GNU_SERVER = ftp.gnu.org
+ RELEASE_TYPE = stable
endif
EXTRA_DIST += $(top_srcdir)/.version
@@ -51,14 +53,3 @@ gen-ChangeLog:
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
fi
-
-tell-upload:
- echo; \
- (echo "Upload with: "; \
- for archive in $(DIST_ARCHIVES); do \
- echo "gnupload --to $(GNU_SERVER):patch $$archive"; \
- done) | \
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'; \
- echo
-upload: dist tell-upload
-uploadcheck: distcheck tell-upload
diff --git a/bootstrap.conf b/bootstrap.conf
index e83fddc..47255fa 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -38,6 +38,7 @@ getopt-gnu
gettime
gitlog-to-changelog
git-version-gen
+gnupload
hash
ignore-value
intprops