From 2e6bf723e4d63d661d26443a4477a040a96c7257 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 Feb 2005 20:53:14 +0000 Subject: * 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. --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile.am') 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 -- cgit 1.4.1