This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Fix winsup/doc to install into prefix
- From: Jon TURNEY <jturney at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 16 Mar 2015 14:53:39 -0000
- Subject: [newlib-cygwin] Fix winsup/doc to install into prefix
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b7f2a6c0a77b20664802b0ac8e724f4450bd5cff
commit b7f2a6c0a77b20664802b0ac8e724f4450bd5cff
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Wed Mar 11 14:06:03 2015 +0000
Fix winsup/doc to install into prefix
By default, docdir and htmldir are defined in terms of prefix, so make sure to
define it, so their values are prefix-relative.
Without this, 'make install' installs the documentation into /share/doc/ unless
configured otherwise.
* Makefile.in (prefix): Define.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diff:
---
winsup/doc/ChangeLog | 4 ++++
winsup/doc/Makefile.in | 1 +
2 files changed, 5 insertions(+)
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index aefb41e..814e651 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-13 Jon TURNEY <jon.turney@dronecode.org.uk>
+
+ * Makefile.in (prefix): Define.
+
2015-03-12 Corinna Vinschen <corinna@vinschen.de>
* ntsec.xml (ntsec-mapping-nsswitch-desc): Fix typo.
diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in
index b7a8dbd..8bf86f7 100644
--- a/winsup/doc/Makefile.in
+++ b/winsup/doc/Makefile.in
@@ -12,6 +12,7 @@ SHELL = @SHELL@
srcdir = @srcdir@
VPATH = @srcdir@
+prefix:=@prefix@
datarootdir:=@datarootdir@
docdir = @docdir@
htmldir = @htmldir@