From: Martin Mares Date: Fri, 20 Jul 2007 12:42:26 +0000 (+0200) Subject: Split Perl modules to Sherlock and UCW namespaces as we already do with C libraries. X-Git-Tag: holmes-import~506^2~33 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=943079dfdd2c6d73a1f2129da6b8d5ffeeae9dc0;p=libucw.git Split Perl modules to Sherlock and UCW namespaces as we already do with C libraries. --- diff --git a/build/Makebottom b/build/Makebottom index 58cec87a..3214cac5 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -161,15 +161,17 @@ $(o)/%: %.pl $(o)/config.mk $(s)/build/genconf $(Q)chmod +x $@ $(Q)$(call symlink,$@,run/$(BINDIR)) +PERL_MODULE_DIR=UCW + $(o)/%.pm: $(s)/%.pm - $(M)PM $< + $(M)"PM $< -> run/lib/perl5/$(PERL_MODULE_DIR)/$(@F)" $(Q)cp $^ $@ - $(Q)$(call symlink,$@,run/lib/perl5/Sherlock) + $(Q)$(call symlink,$@,run/lib/perl5/$(PERL_MODULE_DIR)) $(o)/%.pm: %.pm - $(M)PM $< + $(M)"PM $< -> run/lib/perl/$(PERL_MODULE_DIR)/$(@F)" $(Q)cp $^ $@ - $(Q)$(call symlink,$@,run/lib/perl5/Sherlock) + $(Q)$(call symlink,$@,run/lib/perl5/$(PERL_MODULE_DIR)) # Rules for data files diff --git a/lib/perl/Makefile b/lib/perl/Makefile index 895fcb1a..c8dfb45b 100644 --- a/lib/perl/Makefile +++ b/lib/perl/Makefile @@ -1,6 +1,7 @@ # Perl modules DIRS+=lib/perl +EXTRA_RUNDIRS+=lib/perl5/UCW PROGS+=$(addprefix $(o)/lib/perl/,Config.pm Log.pm) ifdef CONFIG_UCW_PERL_MODULES