mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm under
the Nix:: namespace.
This commit is contained in:
parent
659c427caa
commit
6fcdbcac20
20 changed files with 108 additions and 147 deletions
|
@ -2,7 +2,9 @@ perlversion := $(shell perl -e 'use Config; print $$Config{version};')
|
|||
perlarchname := $(shell perl -e 'use Config; print $$Config{archname};')
|
||||
perllibdir = $(libdir)/perl5/site_perl/$(perlversion)/$(perlarchname)
|
||||
|
||||
install-exec-local: lib/Nix/*.pm
|
||||
all: lib/Nix/Config.pm
|
||||
|
||||
install-exec-local: lib/Nix/*.pm lib/Nix/Config.pm
|
||||
$(INSTALL) -d $(DESTDIR)$(perllibdir)/Nix
|
||||
$(INSTALL_DATA) lib/Nix/*.pm $(DESTDIR)$(perllibdir)/Nix
|
||||
$(INSTALL) -d $(DESTDIR)$(perllibdir)/auto/Nix/Store
|
||||
|
@ -22,4 +24,6 @@ AM_CXXFLAGS = \
|
|||
lib/Nix/Store.cc: lib/Nix/Store.xs
|
||||
xsubpp $^ -output $@
|
||||
|
||||
EXTRA_DIST = lib/Nix/*.pm lib/Nix/Store.xs
|
||||
EXTRA_DIST = lib/Nix/Store.pm lib/Nix/Manifest.pm lib/Nix/Config.pm.in lib/Nix/Store.xs
|
||||
|
||||
include ../substitute.mk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue