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 | d40293ea26ccf5b8ee4bb24a8ff1c37d10a1226d (patch) | |
tree | d039e8f0ca3413f7ca9c81df1cc15aa6b6d6cab6 /maintMakefile | |
parent | 949a4c145b8cb844812cb28921834affa1c2a4a4 (diff) | |
download | make-d40293ea26ccf5b8ee4bb24a8ff1c37d10a1226d.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 31e24ae8..24dd90cc 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 |