]> mj.ucw.cz Git - libucw.git/commitdiff
Configure: Prepare for installation of Configure modules.
authorMartin Mares <mj@ucw.cz>
Tue, 4 Nov 2008 18:12:20 +0000 (19:12 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 4 Nov 2008 18:12:20 +0000 (19:12 +0100)
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.

ucw/perl/UCW/Configure/Makefile [new file with mode: 0644]
ucw/perl/UCW/Makefile

diff --git a/ucw/perl/UCW/Configure/Makefile b/ucw/perl/UCW/Configure/Makefile
new file mode 100644 (file)
index 0000000..f5540a1
--- /dev/null
@@ -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
index d6f2db1c46620b45a9dbc58f8147b091a638a961..b080fec7710b6b986c2124002954151108754f44 100644 (file)
@@ -1,4 +1,7 @@
+# More Perl modules
 
 DIRS+=ucw/perl/UCW
 EXTRA_RUNDIRS+=lib/perl5/UCW
 
 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