* Don't create $(localstatedir)/nix/profiles if --disable-init-state

is specified.
This commit is contained in:
Eelco Dolstra 2004-04-22 07:47:41 +00:00
parent b6df68c942
commit d7238bc84e
2 changed files with 1 additions and 3 deletions

View file

@ -18,6 +18,7 @@ init-state:
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix $(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles
$(INSTALL) -d $(DESTDIR)$(prefix)/store $(INSTALL) -d $(DESTDIR)$(prefix)/store
# $(bindir)/nix-store --init # $(bindir)/nix-store --init
else else

View file

@ -14,6 +14,3 @@ main.o: help.txt.hh
AM_CXXFLAGS = \ AM_CXXFLAGS = \
-I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \ -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \
-I../libexpr -I../libmain -I../libexpr -I../libmain
install-data-local:
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles