Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
17e56d73
Commit
17e56d73
authored
11 years ago
by
Mikhail Glushenkov
Browse files
Options
Downloads
Patches
Plain Diff
Documentation for --sysconfdir.
parent
8b6dc0c2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Cabal/doc/developing-packages.markdown
+7
-7
7 additions, 7 deletions
Cabal/doc/developing-packages.markdown
Cabal/doc/installing-packages.markdown
+10
-2
10 additions, 2 deletions
Cabal/doc/installing-packages.markdown
with
17 additions
and
9 deletions
Cabal/doc/developing-packages.markdown
+
7
−
7
View file @
17e56d73
...
...
@@ -1553,12 +1553,11 @@ a few options:
`unregister`, `clean`, `dist` and `docs`. Some options to commands
are passed through as follows:
* The `--with-hc-pkg`, `--prefix`, `--bindir`, `--libdir`,
`--datadir` and `--libexecdir` options to the `configure`
command are passed on to the `configure` script. In addition the
value of the `--with-compiler` option is passed in a `--with-hc`
option and all options specified with `--configure-option=` are
passed on.
* The `--with-hc-pkg`, `--prefix`, `--bindir`, `--libdir`, `--datadir`,
`--libexecdir` and `--sysconfdir` options to the `configure` command are
passed on to the `configure` script. In addition the value of the
`--with-compiler` option is passed in a `--with-hc` option and all
options specified with `--configure-option=` are passed on.
* The `--destdir` option to the `copy` command becomes a setting
of a `destdir` variable on the invocation of `make copy`. The
...
...
@@ -1571,7 +1570,8 @@ a few options:
bindir=$(destdir)/$(bindir) \
libdir=$(destdir)/$(libdir) \
datadir=$(destdir)/$(datadir) \
libexecdir=$(destdir)/$(libexecdir)
libexecdir=$(destdir)/$(libexecdir) \
sysconfdir=$(destdir)/$(sysconfdir) \
~~~~~~~~~~~~~~~~
*
You can write your own setup script conforming to the interface
...
...
This diff is collapsed.
Click to expand it.
Cabal/doc/installing-packages.markdown
+
10
−
2
View file @
17e56d73
...
...
@@ -221,8 +221,8 @@ private file read by later stages.
If a user-supplied
`configure`
script is run (see the section on
[
system-dependent parameters
](
#system-dependent-parameters
)
or on
[
complex packages
](
#complex-packages
)
), it is passed the
`--with-hc-pkg`
,
`--prefix`
,
`--bindir`
,
`--libdir`
,
`--datadir`
and
`--libexec
dir`
options. In addition the value of the
`--with-compiler`
`--with-hc-pkg`
,
`--prefix`
,
`--bindir`
,
`--libdir`
,
`--datadir`
,
`--libexecdir`
and
`--sysconf
dir`
options. In addition the value of the
`--with-compiler`
option is passed in a
`--with-hc`
option and all options specified with
`--configure-option=`
are passed on.
...
...
@@ -327,6 +327,13 @@ package:
variables: `$prefix`, `$bindir`, `$libdir`, `$libsubdir`, `$pkgid`, `$pkg`,
`$version`, `$compiler`, `$os`, `$arch`
`--sysconfdir=`
_dir_
: Installation directory for the configuration files.
In the simple build system, _dir_ may contain the following path variables:
`$prefix`, `$bindir`, `$libdir`, `$libsubdir`, `$pkgid`, `$pkg`, `$version`,
`$compiler`, `$os`, `$arch`
In addition the simple build system supports the following installation path options:
`--libsubdir=`
_dir_
...
...
@@ -446,6 +453,7 @@ Option Windows Default
`--datadir`
(library)
`C:\Program Files\Haskell`
`$prefix/share`
`--datasubdir`
`$pkgid`
`$pkgid`
`--docdir`
`$prefix\doc\$pkgid`
`$datadir/doc/$pkgid`
`--sysconfdir`
`$prefix\etc`
`$prefix/etc`
`--htmldir`
`$docdir\html`
`$docdir/html`
`--program-prefix`
(empty) (empty)
`--program-suffix`
(empty) (empty)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment