]> mj.ucw.cz Git - libucw.git/blob - ucw/perl/UCW/Configure/Makefile
Merge branch 'master' into dev-lib
[libucw.git] / ucw / perl / UCW / Configure / Makefile
1 # Perl modules for Configure
2
3 DIRS+=ucw/perl/UCW/Configure
4 EXTRA_RUNDIRS+=lib/perl5/UCW/Configure
5 UCW_CONFIGURE_PERL_MODULES=$(addsuffix .pm, C Doc Paths Pkg Build)
6 CONFIGURE_MODULES=$(addprefix $(o)/ucw/perl/UCW/Configure/,$(UCW_CONFIGURE_PERL_MODULES))
7 PROGS+=$(CONFIGURE_MODULES)
8
9 $(CONFIGURE_MODULES) : PERL_MODULE_DIR=UCW/Configure
10
11 INSTALL_TARGETS+=install-perl-ucw-configure
12 install-perl-ucw-configure:
13         install -d -m 755 $(DESTDIR)$(INSTALL_PERL_DIR)/UCW/Configure
14         install -m 644 $(addprefix $(s)/ucw/perl/UCW/Configure/,$(UCW_CONFIGURE_PERL_MODULES)) $(DESTDIR)$(INSTALL_PERL_DIR)/UCW/Configure
15 .PHONY: install-perl-ucw-configure