summary refs log tree commit diff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-05-30 15:21:52 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-05-30 15:21:52 +0000
commitd1f5fd7216066d4ed04df27546e3d3e0d362c71b (patch)
tree8d8c352d1cbe6ebd6aab72f1df124548b1bf0a94 /src/Makefile.am
parent64582f54be099eb92a75ed301c72681afa4db741 (diff)
downloadguix-d1f5fd7216066d4ed04df27546e3d3e0d362c71b.tar.gz
* Log the output of builders to $prefix/var/log/nix.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ffbaaeb830..3b519aa55d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 bin_PROGRAMS = nix fix
 
-CXXFLAGS = -DSYSTEM=\"@host@\" -Wall
+AM_CXXFLAGS = -DSYSTEM=\"@host@\" -Wall
 
 nix_SOURCES = nix.cc db.cc util.cc md5.c
 nix_LDADD = -ldb_cxx-4 -lATerm
@@ -16,5 +16,6 @@ install-data-local:
 	$(INSTALL) -d $(localstatedir)/nix/prebuilts
 	$(INSTALL) -d $(localstatedir)/nix/prebuilts/imports
 	$(INSTALL) -d $(localstatedir)/nix/prebuilts/exports
+	$(INSTALL) -d $(localstatedir)/log/nix
 	$(INSTALL) -d $(prefix)/pkg
 	$(bindir)/nix init