diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-11 09:31:55 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-11 09:31:55 +0000 |
commit | a2a317eb0bc418577461105790c70b363a10cc34 (patch) | |
tree | f842b749f26e5bda2f57febb6dee2023f26bfd70 | |
parent | 5090c34ee1251dd8f0a57332feff0c99489f7faa (diff) | |
download | guix-a2a317eb0bc418577461105790c70b363a10cc34.tar.gz |
* Distribute GeneratePatches.pm.
-rw-r--r-- | perl/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am index a459bdc87c..d41340af03 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -2,11 +2,13 @@ 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) -all: lib/Nix/Config.pm +PERL_MODULES = lib/Nix/Store.pm lib/Nix/Manifest.pm lib/Nix/GeneratePatches.pm lib/Nix/Config.pm.in -install-exec-local: lib/Nix/*.pm lib/Nix/Config.pm +all: $(PERL_MODULES:.in=) + +install-exec-local: $(PERL_MODULES:.in=) $(INSTALL) -d $(DESTDIR)$(perllibdir)/Nix - $(INSTALL_DATA) lib/Nix/*.pm $(DESTDIR)$(perllibdir)/Nix + $(INSTALL_DATA) $(PERL_MODULES:.in=) $(DESTDIR)$(perllibdir)/Nix $(INSTALL) -d $(DESTDIR)$(perllibdir)/auto/Nix/Store ln -sfn $(pkglibdir)/libNixStore.so $(DESTDIR)$(perllibdir)/auto/Nix/Store/Store.so @@ -24,6 +26,6 @@ AM_CXXFLAGS = \ lib/Nix/Store.cc: lib/Nix/Store.xs xsubpp $^ -output $@ -EXTRA_DIST = lib/Nix/Store.pm lib/Nix/Manifest.pm lib/Nix/Config.pm.in lib/Nix/Store.xs +EXTRA_DIST = $(PERL_MODULES) lib/Nix/Store.xs include ../substitute.mk |