diff options
author | Earnie Boyd <earnie@users.sf.net> | 2004-04-22 16:16:25 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2004-04-22 16:16:25 +0000 |
commit | 00a85098c43ef57f9a621ee8b26bc35e63816dea (patch) | |
tree | c16c61df58a3b0dc6d3d58468164ad8c3a30062a /winsup/mingw/Makefile.in | |
parent | fe97afbbb30e8e708edcb3d7cfdc7c0d5bc9c2dd (diff) | |
download | newlib-00a85098c43ef57f9a621ee8b26bc35e63816dea.zip newlib-00a85098c43ef57f9a621ee8b26bc35e63816dea.tar.gz newlib-00a85098c43ef57f9a621ee8b26bc35e63816dea.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/mingw/Makefile.in')
-rw-r--r-- | winsup/mingw/Makefile.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in index c3fc127..cc0e5c7 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 ; \ |