1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +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,10 +1,10 @@
all-local: builder.sh
install-exec-local:
$(INSTALL) -d $(datadir)/nix/corepkgs
$(INSTALL) -d $(datadir)/nix/corepkgs/fetchurl
$(INSTALL_DATA) default.nix $(datadir)/nix/corepkgs/fetchurl
$(INSTALL_PROGRAM) builder.sh $(datadir)/nix/corepkgs/fetchurl
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs/fetchurl
$(INSTALL_DATA) default.nix $(DESTDIR)$(datadir)/nix/corepkgs/fetchurl
$(INSTALL_PROGRAM) builder.sh $(DESTDIR)$(datadir)/nix/corepkgs/fetchurl
include ../../substitute.mk