Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sysconfdir. #1408

Merged
merged 1 commit into from Aug 23, 2013
Merged

Add sysconfdir. #1408

merged 1 commit into from Aug 23, 2013

Conversation

clinty
Copy link

@clinty clinty commented Aug 3, 2013

It would be useful to have a configurable etc dir.

@23Skidoo
Copy link
Member

23Skidoo commented Aug 4, 2013

Leaving this for @dcoutts to review.

@dcoutts
Copy link
Contributor

dcoutts commented Aug 10, 2013

Looks ok to me.

So I see that we don't really use it anywhere ourselves, but that makes sense since it's mainly for runtime code to use.

@23Skidoo
Copy link
Member

@clinty

Can you please also update the documentation?

@23Skidoo
Copy link
Member

OK, I can update the docs myself.

23Skidoo added a commit that referenced this pull request Aug 23, 2013
@23Skidoo 23Skidoo merged commit a13d801 into haskell:master Aug 23, 2013
@@ -288,7 +293,8 @@ substituteInstallDirTemplates env dirs = dirs'
mandir = subst mandir (prefixBinLibDataVars ++ [docdirVar]),
htmldir = subst htmldir (prefixBinLibDataVars ++ [docdirVar]),
haddockdir = subst haddockdir (prefixBinLibDataVars ++
[docdirVar, htmldirVar])
[docdirVar, htmldirVar]),
sysconfdir = subst sysconfdir []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value is $prefix/etc, so you should have used [prefixVar] instead of [].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants