about summary refs log tree commit diff
path: root/corepkgs/buildenv
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/buildenv
parent68f2fadb788f8d401fad6fd1db1cfac283e5e337 (diff)
* RPM spec file.
* Respect DESTDIR variable.

Diffstat (limited to 'corepkgs/buildenv')
-rw-r--r--corepkgs/buildenv/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/corepkgs/buildenv/Makefile.am b/corepkgs/buildenv/Makefile.am
index 74c39199f689..f6a14600f3c4 100644
--- a/corepkgs/buildenv/Makefile.am
+++ b/corepkgs/buildenv/Makefile.am
@@ -1,8 +1,8 @@
 install-exec-local:
-	$(INSTALL) -d $(datadir)/nix/corepkgs
-	$(INSTALL) -d $(datadir)/nix/corepkgs/buildenv
-	$(INSTALL_DATA) default.nix $(datadir)/nix/corepkgs/buildenv
-	$(INSTALL_PROGRAM) builder.pl $(datadir)/nix/corepkgs/buildenv
+	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs
+	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs/buildenv
+	$(INSTALL_DATA) default.nix $(DESTDIR)$(datadir)/nix/corepkgs/buildenv
+	$(INSTALL_PROGRAM) builder.pl $(DESTDIR)$(datadir)/nix/corepkgs/buildenv
 
 include ../../substitute.mk