aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-30 20:09:00 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-30 20:09:00 +0000
commit94175e978a87a79f3362879898dc1cf7d08d7791 (patch)
tree19bd6e4c73447a886b1915475ac61fa4bcbc541f /src
parent68f2fadb788f8d401fad6fd1db1cfac283e5e337 (diff)
* RPM spec file.
* Respect DESTDIR variable.
Diffstat (limited to 'src')
-rw-r--r--src/nix-store/Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nix-store/Makefile.am b/src/nix-store/Makefile.am
index 80e598742..74cf814a7 100644
--- a/src/nix-store/Makefile.am
+++ b/src/nix-store/Makefile.am
@@ -13,11 +13,11 @@ AM_CXXFLAGS = \
-I.. -I../../externals/inst/include -I../libutil -I../libstore -I../libmain
install-data-local:
- $(INSTALL) -d $(localstatedir)/nix
- $(INSTALL) -d $(localstatedir)/nix/db
- $(INSTALL) -d $(localstatedir)/nix/links
- rm -f $(prefix)/current
- ln -sf $(localstatedir)/nix/links/current $(prefix)/current
- $(INSTALL) -d $(localstatedir)/log/nix
- $(INSTALL) -d $(prefix)/store
- $(bindir)/nix-store --init
+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/links
+ rm -f $(DESTDIR)$(prefix)/current
+ ln -sf $(localstatedir)/nix/links/current $(DESTDIR)$(prefix)/current
+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
+ $(INSTALL) -d $(DESTDIR)$(prefix)/store
+# $(bindir)/nix-store --init