From d7238bc84ebd8356db6d73a80171f1129bbe3d44 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 22 Apr 2004 07:47:41 +0000 Subject: [PATCH] * Don't create $(localstatedir)/nix/profiles if --disable-init-state is specified. --- Makefile.am | 1 + src/nix-env/Makefile.am | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 720279460..d25ccc5c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,7 @@ init-state: $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db $(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix + $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles $(INSTALL) -d $(DESTDIR)$(prefix)/store # $(bindir)/nix-store --init else diff --git a/src/nix-env/Makefile.am b/src/nix-env/Makefile.am index 3943a9d9a..49282f169 100644 --- a/src/nix-env/Makefile.am +++ b/src/nix-env/Makefile.am @@ -14,6 +14,3 @@ main.o: help.txt.hh AM_CXXFLAGS = \ -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \ -I../libexpr -I../libmain - -install-data-local: - $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles