From ea7452a3ed0e493cffef5658c743c44ed2c80764 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 12 Nov 2019 20:15:54 -0700 Subject: [PATCH] copy MIT and Apache license files in place on install --- racket/src/Makefile.in | 2 ++ racket/src/worksp/build.bat | 4 ++++ racket/src/worksp/csbuild.rkt | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/racket/src/Makefile.in b/racket/src/Makefile.in index 2b0c9460ff..3bf34c41de 100644 --- a/racket/src/Makefile.in +++ b/racket/src/Makefile.in @@ -44,6 +44,8 @@ ALLDIRINFO = "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(mandir)" COPYING = "$(srcdir)/LICENSE-libscheme.txt" \ + "$(srcdir)/LICENSE-MIT.txt" \ + "$(srcdir)/LICENSE-APACHE.txt" \ "$(srcdir)/LICENSE-LGPL.txt" \ "$(srcdir)/LICENSE-GPL.txt" diff --git a/racket/src/worksp/build.bat b/racket/src/worksp/build.bat index 36da29f117..3664f17136 100644 --- a/racket/src/worksp/build.bat +++ b/racket/src/worksp/build.bat @@ -73,6 +73,10 @@ cd .. copy ..\LICENSE-libscheme.txt ..\..\share\ if errorlevel 1 exit /B 1 +copy ..\LICENSE-MIT.txt ..\..\share\ +if errorlevel 1 exit /B 1 +copy ..\LICENSE-APACHE.txt ..\..\share\ +if errorlevel 1 exit /B 1 copy ..\LICENSE-LGPL.txt ..\..\share\ if errorlevel 1 exit /B 1 copy ..\LICENSE-GPL.txt ..\..\share\ diff --git a/racket/src/worksp/csbuild.rkt b/racket/src/worksp/csbuild.rkt index 8558b9bd81..99a2af4fd5 100644 --- a/racket/src/worksp/csbuild.rkt +++ b/racket/src/worksp/csbuild.rkt @@ -295,6 +295,12 @@ (copy-file "../LICENSE-libscheme.txt" "../../share/LICENSE-libscheme.txt" #t) +(copy-file "../LICENSE-MIT.txt" + "../../share/LICENSE-MIT.txt" + #t) +(copy-file "../LICENSE-APACHE.txt" + "../../share/LICENSE-APACHE.txt" + #t) (copy-file "../LICENSE-LGPL.txt" "../../share/LICENSE-LGPL.txt" #t)