From 00a85098c43ef57f9a621ee8b26bc35e63816dea Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Thu, 22 Apr 2004 16:16:25 +0000 Subject: [PATCH] * DISCLAIMER: Add words about "free to use". * README: Modify "Win32 runtime" to "Microsoft C Runtime". * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README. (inst_docdir): New variable. (INSTDOCS): Ditto. (FLAGS_TO_PASS): Include inst_docdir. (install-dirs): Add inst_docdir. (install): Add loop for INSTDOCS. --- winsup/mingw/ChangeLog | 11 +++++++++++ winsup/mingw/DISCLAIMER | 2 ++ winsup/mingw/Makefile.in | 13 ++++++++++++- winsup/mingw/README | 2 +- 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 07dc38759..def06e118 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,14 @@ +2004-04-22 Earnie Boyd + + * DISCLAIMER: Add words about "free to use". + * README: Modify "Win32 runtime" to "Microsoft C Runtime". + * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README. + (inst_docdir): New variable. + (INSTDOCS): Ditto. + (FLAGS_TO_PASS): Include inst_docdir. + (install-dirs): Add inst_docdir. + (install): Add loop for INSTDOCS. + 2004-04-22 Danny Smith * mingwex/math/lround.c: Rewrite. diff --git a/winsup/mingw/DISCLAIMER b/winsup/mingw/DISCLAIMER index 263743029..be3469cbb 100644 --- a/winsup/mingw/DISCLAIMER +++ b/winsup/mingw/DISCLAIMER @@ -7,4 +7,6 @@ * will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR * IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * You are free to use this package and its code without limitation. */ diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in index c3fc12798..cc0e5c75f 100644 --- a/winsup/mingw/Makefile.in +++ b/winsup/mingw/Makefile.in @@ -51,10 +51,12 @@ ifneq (,$(findstring cygwin,$(target_alias))) inst_bindir:=$(tooldir)/bin inst_includedir:=$(tooldir)/include/mingw inst_libdir:=$(tooldir)/lib/mingw +inst_docdir:=$(tooldir)/doc/mingw-runtime else inst_bindir:=$(bindir) inst_includedir:=$(includedir) inst_libdir:=$(libdir) +inst_docdir:=$(prefix)/doc/mingw-runtime endif # The Mingw headers are installed under a subdirectory of @@ -142,6 +144,7 @@ FLAGS_TO_PASS:=\ inst_bindir="$(inst_bindir)" \ inst_includedir="$(inst_includedir)" \ inst_libdir="$(inst_libdir)" \ + inst_docdir="$(inst_docdir)" \ prefix="$(prefix)" \ target_alias="$(target_alias)" \ TAR="$(TAR)" \ @@ -169,6 +172,9 @@ LIBS = libcrtdll.a \ DLLS = $(THREAD_DLL_NAME) +INSTDOCS = DISCLAIMER \ + README + SRCDIST_FILES = CRT_noglob.c CRTfmode.c CRTglob.c CRTinit.c ChangeLog \ Makefile.in README TODO config.guess config.sub configure configure.in \ crt1.c crtdll.def crtmt.c crtst.c dllcrt1.c dllmain.c \ @@ -178,7 +184,8 @@ mthr.c mthr_init.c mthr_stub.c readme.txt \ isascii.c iscsym.c iscsymf.c toascii.c \ strcasecmp.c strncasecmp.c wcscmpi.c \ CRT_fp8.c CRT_fp10.c test_headers.c txtmode.c binmode.c pseudo-reloc.c \ -pseudo-reloc-list.c +pseudo-reloc-list.c \ +DISCLAIMER README all_dlls_host = @all_dlls_host@ @@ -389,6 +396,7 @@ install-dirs: $(mkinstalldirs) $(inst_bindir) $(mkinstalldirs) $(inst_includedir) $(mkinstalldirs) $(inst_libdir) + $(mkinstalldirs) $(inst_docdir) install: all install-dirs $(install_dlls_host) for i in $(LIBS); do \ @@ -397,6 +405,9 @@ install: all install-dirs $(install_dlls_host) for i in $(CRT0S); do \ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ done + for i in $(INSTDOCS); do \ + $(INSTALL_DATA) $(srcdir)/$$i $(inst_docdir)/$$i ; \ + done for sub in . sys ; do \ dstdir=$(inst_includedir)/$$sub ; \ $(mkinstalldirs) $$dstdir ; \ diff --git a/winsup/mingw/README b/winsup/mingw/README index 936819172..bcde14423 100644 --- a/winsup/mingw/README +++ b/winsup/mingw/README @@ -1,4 +1,4 @@ - Free Win32 runtime and import library definitions + Free Microsoft C Runtime and import library definitions Maintained by MinGW Developers Send bug reports and questions to MinGW-users@lists.sourceforge.net