From e3e3f15ebcbe29bed87354c317824c95cac427c4 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 4 Mar 2004 13:42:51 +0000 Subject: Updates to automate generation of GNU upload artifacts. Fix a problem compiling on old, pre-ANSI systems. getloadavg test is still broken, but make builds. Document a breakage on SunOS 4.x systems. --- maintMakefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'maintMakefile') diff --git a/maintMakefile b/maintMakefile index 31e24ae..24dd90c 100644 --- a/maintMakefile +++ b/maintMakefile @@ -240,3 +240,29 @@ po-check: diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi + +## ------------------------- ## +## GNU FTP upload artifacts. ## +## ------------------------- ## + +# This target creates the upload artifacts. + +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) + +$(DIST_ARCHIVES_DIRECTIVE): directive.asc + cp $< $@ + +%.sig : % + @echo "Signing file '$<':" + $(GPG) -o $@ -b $< + +directive.asc: + @echo "Creating directive file '$@':" + @echo 'directory: make' > .directive + $(GPG) -o $@ --clearsign .directive + @rm -f .directive -- cgit v1.2.3