about summary refs log tree commit diff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 17d801fbf370..e1db3c4ebe86 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,3 +3,10 @@ bin_PROGRAMS = nix
 nix_SOURCES = nix.cc md5.c
 nix_CXXFLAGS = -DSYSTEM=\"@host@\"
 nix_LDADD = -ldb_cxx-4 -lATerm
+
+install-data-local:
+	$(INSTALL) -d $(localstatedir)/nix
+	$(INSTALL) -d $(localstatedir)/nix/descriptors
+	$(INSTALL) -d $(localstatedir)/nix/sources
+	$(INSTALL) -d $(prefix)/pkg
+	$(bindir)/nix init