From 4a7ecbd645d9b559ead3415cb762a16d507ecebd Mon Sep 17 00:00:00 2001
From: Martin Nilsson <mani@lysator.liu.se>
Date: Sat, 1 Jun 2002 00:21:25 +0200
Subject: [PATCH] Added target legal, which generates the files COPYRIGHT and
 COPYING.

Rev: Makefile:1.73
---
 Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 15b10089f8..6803949669 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 1.72 2002/05/30 14:35:10 nilsson Exp $
+# $Id: Makefile,v 1.73 2002/05/31 22:21:25 nilsson Exp $
 #
 # Meta Makefile
 #
@@ -146,6 +146,12 @@ documentation:
 
 doc: documentation
 
+legal: bin/pike
+	bin/pike -e 'Stdio.write_file("COPYRIGHT", \
+	  Tools.Legal.Copyright.get_text());'
+	bin/pike -e 'Stdio.write_file("COPYING", \
+	  Tools.Legal.License.get_text());'
+
 # Don't make bin/pike if we're recursing with a $(METATARGET) since we
 # don't want the backquote expression which usually is part of
 # $(BUILDDIR) to be expanded in that script. It's better to evaluate
-- 
GitLab