about summary refs log tree commit diff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 94df32b249e6..1662e99c1caf 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -4,9 +4,13 @@ bin_SCRIPTS = nix-collect-garbage \
 
 noinst_SCRIPTS = nix-profile.sh
 
-install-exec-local:
+nix-pull nix-push: readmanifest.pm
+
+install-exec-local: readmanifest.pm
 	$(INSTALL) -d $(sysconfdir)/profile.d
 	$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh
+	$(INSTALL) -d $(libexecdir)/nix
+	$(INSTALL_DATA) readmanifest.pm $(libexecdir)/nix 
 	$(INSTALL) -d $(sysconfdir)/nix
 # !!! don't overwrite local modifications
 	$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf
@@ -16,5 +20,5 @@ include ../substitute.mk
 EXTRA_DIST = nix-collect-garbage.in \
  nix-pull.in nix-push.in nix-profile.sh.in \
  nix-prefetch-url.in nix-install-package.in \
- prebuilts.conf
+ prebuilts.conf readmanifest.pm