summaryrefslogtreecommitdiffstats
path: root/package/gnuconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gnuconfig/Makefile')
-rw-r--r--package/gnuconfig/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/gnuconfig/Makefile b/package/gnuconfig/Makefile
new file mode 100644
index 000000000..f99ebce83
--- /dev/null
+++ b/package/gnuconfig/Makefile
@@ -0,0 +1,15 @@
+UPLOAD=ftp://ftp-upload.gnu.org/incoming/ftp/
+
+all:
+ @echo "Type 'make upload' to upload to the GNU FTP server."
+
+upload:
+ gpg --detach-sign config.guess
+ gpg --detach-sign config.sub
+ echo "directory: config" | gpg --clearsign > config.guess.directive.asc
+ cp config.guess.directive.asc config.sub.directive.asc
+ ftp -a -u $(UPLOAD) config.{guess,sub}{,.sig,.directive.asc}
+ rm config.{guess,sub}{.sig,.directive.asc}
+
+check:
+ cd testsuite && (sh config-sub.sh; sh config-guess.sh) && rm uname