From 213ccc2234fe09b99a39f3d3884626898596c815 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 6 Mar 2004 08:00:17 +0000 Subject: More maintainer rules. --- maintMakefile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'maintMakefile') 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-%=%) $^ -- cgit v1.2.3