diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-01T20·53+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-01T20·53+0000 |
commit | 2e6bf723e4d63d661d26443a4477a040a96c7257 (patch) | |
tree | dee35ee1dd887c89ca9772ea0ff06a957a366e03 /Makefile.am | |
parent | 9f6835c2829310f3c58abb39002a4a580e3ae35e (diff) |
* Added a global configuration file (/nix/etc/nix/nix.conf). It
contains options for the garbage collector right now, but other stuff can be added here later.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7e386f84c567..f50351b05b67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ SUBDIRS = externals src scripts corepkgs doc misc tests -EXTRA_DIST = substitute.mk nix.spec nix.spec.in bootstrap.sh svn-revision +EXTRA_DIST = substitute.mk nix.spec nix.spec.in bootstrap.sh \ + svn-revision nix.conf.example include ./substitute.mk @@ -12,6 +13,11 @@ relname: echo -n $(distdir) > relname install-data-local: init-state + $(INSTALL) -d $(DESTDIR)$(sysconfdir)/nix + $(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix + if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \ + $(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \ + fi if INIT_STATE if SETUID_HACK |