1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-18 07:08:27 +02:00

* RPM spec file.

* Respect DESTDIR variable.
This commit is contained in:
Eelco Dolstra 2003-12-30 20:09:00 +00:00
parent 68f2fadb78
commit 94175e978a
8 changed files with 76 additions and 32 deletions

View file

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