about summary refs log tree commit diff
path: root/corepkgs/nar
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-30T20·09+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-30T20·09+0000
commit94175e978a87a79f3362879898dc1cf7d08d7791 (patch)
tree19bd6e4c73447a886b1915475ac61fa4bcbc541f /corepkgs/nar
parent68f2fadb788f8d401fad6fd1db1cfac283e5e337 (diff)
* RPM spec file.
* Respect DESTDIR variable.

Diffstat (limited to 'corepkgs/nar')
-rw-r--r--corepkgs/nar/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/corepkgs/nar/Makefile.am b/corepkgs/nar/Makefile.am
index 3e0aab869ddf..8fb879ae1b08 100644
--- a/corepkgs/nar/Makefile.am
+++ b/corepkgs/nar/Makefile.am
@@ -1,12 +1,12 @@
 all-local: nar.sh unnar.sh
 
 install-exec-local:
-	$(INSTALL) -d $(datadir)/nix/corepkgs
-	$(INSTALL) -d $(datadir)/nix/corepkgs/nar
-	$(INSTALL_DATA) nar.nix $(datadir)/nix/corepkgs/nar
-	$(INSTALL_PROGRAM) nar.sh $(datadir)/nix/corepkgs/nar
-	$(INSTALL_DATA) unnar.nix $(datadir)/nix/corepkgs/nar
-	$(INSTALL_PROGRAM) unnar.sh $(datadir)/nix/corepkgs/nar
+	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs
+	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs/nar
+	$(INSTALL_DATA) nar.nix $(DESTDIR)$(datadir)/nix/corepkgs/nar
+	$(INSTALL_PROGRAM) nar.sh $(DESTDIR)$(datadir)/nix/corepkgs/nar
+	$(INSTALL_DATA) unnar.nix $(DESTDIR)$(datadir)/nix/corepkgs/nar
+	$(INSTALL_PROGRAM) unnar.sh $(DESTDIR)$(datadir)/nix/corepkgs/nar
 
 include ../../substitute.mk