From 0a4e90395c3286a246b816575351b9f2016976ba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 2 Jan 2013 23:52:15 +0100 Subject: Urgggh http://hydra.nixos.org/build/3661100 --- scripts/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/Makefile.am') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 506b1aeb454f..1453ed9cc1ac 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -7,9 +7,11 @@ noinst_SCRIPTS = nix-profile.sh \ find-runtime-roots.pl build-remote.pl nix-reduce-build \ copy-from-other-stores.pl nix-http-export.cgi +profiledir = $(sysconfdir)/profile.d + install-exec-local: download-using-manifests.pl copy-from-other-stores.pl download-from-binary-cache.pl find-runtime-roots.pl - $(INSTALL) -d $(DESTDIR)$(sysconfdir)/profile.d - $(INSTALL_DATA) nix-profile.sh $(DESTDIR)$(sysconfdir)/profile.d/nix.sh + $(INSTALL) -d $(DESTDIR)$(profiledir) + $(INSTALL_DATA) nix-profile.sh $(DESTDIR)$(profiledir)/nix.sh $(INSTALL) -d $(DESTDIR)$(libexecdir)/nix $(INSTALL_PROGRAM) find-runtime-roots.pl $(DESTDIR)$(libexecdir)/nix $(INSTALL_PROGRAM) build-remote.pl $(DESTDIR)$(libexecdir)/nix -- cgit 1.4.1