* Do initialise state (the DB etc.) when doing a `make install',

unless `--disable-init-state' is passed to configure.
This commit is contained in:
Eelco Dolstra 2004-04-21 10:54:46 +00:00
parent 8e459d919d
commit f79e9c2d22
4 changed files with 18 additions and 8 deletions

View file

@ -11,10 +11,3 @@ main.o: help.txt.hh
AM_CXXFLAGS = \
-I.. ${bdb_include} $(aterm_include) -I../libutil -I../libstore -I../libmain
init-state-local:
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
$(INSTALL) -d $(DESTDIR)$(prefix)/store
# $(bindir)/nix-store --init