summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-03-04 13:42:51 +0000
committerPaul Smith <psmith@gnu.org>2004-03-04 13:42:51 +0000
commite3e3f15ebcbe29bed87354c317824c95cac427c4 (patch)
treed039e8f0ca3413f7ca9c81df1cc15aa6b6d6cab6 /maintMakefile
parent59306b02234da9c144f70e55d38ef2e91e5113f0 (diff)
downloadgunmake-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--maintMakefile26
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