about summary refs log tree commit diff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-05T11·25+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-05T11·25+0000
commit06c5a7075d85636ba1fedce1fc5b131cdcffd5f8 (patch)
tree971cea7feac8925a55b32ac13663cb70433260ad /scripts/Makefile.am
parentcff6fd22ebfbfdbbda9b30c68cb61e25db718147 (diff)
* Refactoring: put the manifest-reading code in a separate file.
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