diff options
author | Ian Lynagh <igloo@earth.li> | 2007-08-31 17:39:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-08-31 17:39:03 +0000 |
commit | d668d368efdb8ea54dab178e6cc6178b8148e7cf (patch) | |
tree | 25fc3eba40f26926e1b11c0e017dbc9ce02d8163 /mk | |
parent | 93ff058d179e1c6f36d5df7fa290f326d79b680a (diff) | |
download | haskell-d668d368efdb8ea54dab178e6cc6178b8148e7cf.tar.gz |
Don't use the --docdir etc that autoconf provides
Older autoconfs (<2.60?) don't understand them.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/config.mk.in | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 16109bfcaa..249da9efe2 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -550,11 +550,21 @@ datadir = $(datadir0)/ghc-$(ProjectVersion) endif # Windows headerdir = $(libdir)/include -docdir = @docdir@ -htmldir = @htmldir@ -dvidir = @dvidir@ -pdfdir = @pdfdir@ -psdir = @psdir@ + +# 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. + +#docdir = @docdir@ +#htmldir = @htmldir@ +#dvidir = @dvidir@ +#pdfdir = @pdfdir@ +#psdir = @psdir@ + +docdir = $(datarootdir)/doc/ghc +htmldir = $(docdir) +dvidir = $(docdir) +pdfdir = $(docdir) +psdir = $(docdir) # Default place for putting interface files is $(libdir) # (overriden for packages in package.mk) |