diff options
author | Paul Smith <psmith@gnu.org> | 2004-03-04 13:42:51 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-03-04 13:42:51 +0000 |
commit | e3e3f15ebcbe29bed87354c317824c95cac427c4 (patch) | |
tree | d039e8f0ca3413f7ca9c81df1cc15aa6b6d6cab6 /maintMakefile | |
parent | 59306b02234da9c144f70e55d38ef2e91e5113f0 (diff) | |
download | make-e3e3f15ebcbe29bed87354c317824c95cac427c4.tar.gz |
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.
Diffstat (limited to 'maintMakefile')
-rw-r--r-- | maintMakefile | 26 |
1 files changed, 26 insertions, 0 deletions
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 |