summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-03-06 08:00:17 +0000
committerPaul Smith <psmith@gnu.org>2004-03-06 08:00:17 +0000
commit213ccc2234fe09b99a39f3d3884626898596c815 (patch)
tree4370d925786d3815ea87e3088862a678200a0aaa /maintMakefile
parente3e3f15ebcbe29bed87354c317824c95cac427c4 (diff)
downloadgunmake-213ccc2234fe09b99a39f3d3884626898596c815.tar.gz
More maintainer rules.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/maintMakefile b/maintMakefile
index 24dd90c..49b3a96 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -252,17 +252,28 @@ GPG = gpg
DIST_ARCHIVES_SIG = $(addsuffix .sig,$(DIST_ARCHIVES))
DIST_ARCHIVES_DIRECTIVE = $(addsuffix .directive.asc,$(DIST_ARCHIVES))
-sign-dist: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
+.PHONY: distsign
+distsign: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
-$(DIST_ARCHIVES_DIRECTIVE): directive.asc
+$(DIST_ARCHIVES_DIRECTIVE): .directive.asc
cp $< $@
%.sig : %
@echo "Signing file '$<':"
$(GPG) -o $@ -b $<
-directive.asc:
+.directive.asc:
@echo "Creating directive file '$@':"
@echo 'directory: make' > .directive
$(GPG) -o $@ --clearsign .directive
@rm -f .directive
+
+# Upload the artifacts
+
+FTPPUT = ncftpput
+gnu-url = ftp-upload.gnu.org /incoming
+
+UPLOADS = upload-alpha upload-ftp
+.PHONY: $(UPLOADS)
+$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
+ $(FTPPUT) $(gnu-url)/$(@:upload-%=%) $^