From: Martin Mares Date: Tue, 4 Nov 2008 18:12:20 +0000 (+0100) Subject: Configure: Prepare for installation of Configure modules. X-Git-Tag: holmes-import~197^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8b1c772cc84995e5277db3fe6947c8c746696534;p=libucw.git Configure: Prepare for installation of Configure modules. So far, they are installed only to the run/lib/perl5/ hierarchy, since we do not have targets for site-wide installation of Perl modules yet. --- diff --git a/ucw/perl/UCW/Configure/Makefile b/ucw/perl/UCW/Configure/Makefile new file mode 100644 index 00000000..f5540a17 --- /dev/null +++ b/ucw/perl/UCW/Configure/Makefile @@ -0,0 +1,8 @@ +# Perl modules for Configure + +DIRS+=ucw/perl/UCW/Configure +EXTRA_RUNDIRS+=lib/perl5/UCW/Configure +CONFIGURE_MODULES=$(addprefix $(o)/ucw/perl/UCW/Configure/,C.pm Doc.pm Paths.pm Pkg.pm) +PROGS+=$(CONFIGURE_MODULES) + +$(CONFIGURE_MODULES) : PERL_MODULE_DIR=UCW/Configure diff --git a/ucw/perl/UCW/Makefile b/ucw/perl/UCW/Makefile index d6f2db1c..b080fec7 100644 --- a/ucw/perl/UCW/Makefile +++ b/ucw/perl/UCW/Makefile @@ -1,4 +1,7 @@ +# More Perl modules DIRS+=ucw/perl/UCW EXTRA_RUNDIRS+=lib/perl5/UCW -PROGS+=$(addprefix $(o)/ucw/perl/UCW/,Config.pm Log.pm CGI.pm) +PROGS+=$(addprefix $(o)/ucw/perl/UCW/,Config.pm Log.pm CGI.pm Configure.pm) + +include $(s)/ucw/perl/UCW/Configure/Makefile