projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3241a63
)
Give Windows its own definitions of docdir (and htmldir etc)
author
Ian Lynagh
<igloo@earth.li>
Tue, 18 Sep 2007 20:12:49 +0000
(20:12 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 18 Sep 2007 20:12:49 +0000
(20:12 +0000)
mk/config.mk.in
patch
|
blob
|
history
diff --git
a/mk/config.mk.in
b/mk/config.mk.in
index
640f33e
..
106d7aa
100644
(file)
--- a/
mk/config.mk.in
+++ b/
mk/config.mk.in
@@
-569,6
+569,12
@@
datarootdir := $(prefix)
datadir := $(prefix)
libdir := $(prefix)
datadir := $(prefix)
libdir := $(prefix)
+docdir := $(prefix)/doc
+htmldir := $(docdir)
+dvidir := $(docdir)
+pdfdir := $(docdir)
+psdir := $(docdir)
+
else
# Unix: override libdir and datadir to put ghc-specific stuff in
else
# Unix: override libdir and datadir to put ghc-specific stuff in
@@
-577,10
+583,6
@@
datarootdir := $(datadir0)
datadir := $(datadir0)/ghc-$(ProjectVersion)
libdir := $(libdir0)/ghc-$(ProjectVersion)
datadir := $(datadir0)/ghc-$(ProjectVersion)
libdir := $(libdir0)/ghc-$(ProjectVersion)
-endif # Windows
-
-headerdir := $(libdir)/include
-
# New autoconf (>= 2.60?) make a configure with --docdir=DIR etc flags.
# However, in order to support older autoconf's we don't use them.
# New autoconf (>= 2.60?) make a configure with --docdir=DIR etc flags.
# However, in order to support older autoconf's we don't use them.
@@
-596,6
+598,10
@@
dvidir := $(docdir)
pdfdir := $(docdir)
psdir := $(docdir)
pdfdir := $(docdir)
psdir := $(docdir)
+endif # Windows
+
+headerdir := $(libdir)/include
+
# Default place for putting interface files is $(libdir)
# (overriden for packages in package.mk)
ifacedir = $(libdir)
# Default place for putting interface files is $(libdir)
# (overriden for packages in package.mk)
ifacedir = $(libdir)