* Support for srcdir != builddir (NIX-41).

This commit is contained in:
Eelco Dolstra 2006-05-12 11:47:45 +00:00
parent 9d72bf8835
commit b5988004d6
16 changed files with 37 additions and 34 deletions

View file

@ -3,7 +3,7 @@ all-local: nar.sh
install-exec-local:
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs/nar
$(INSTALL_DATA) nar.nix $(DESTDIR)$(datadir)/nix/corepkgs/nar
$(INSTALL_DATA) $(srcdir)/nar.nix $(DESTDIR)$(datadir)/nix/corepkgs/nar
$(INSTALL_PROGRAM) nar.sh $(DESTDIR)$(datadir)/nix/corepkgs/nar
include ../../substitute.mk