]> mj.ucw.cz Git - libucw.git/blob - ucw/perl/UCW/Configure/Makefile
Random: Fixed bug in xoroshiro128 implementation.
[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 Perl)
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
13 # XXX: This is a hack. UCW::Configure is a part of the build system,
14 # not of LibUCW proper. Nevertheless, we should avoid moving things
15 # around in point releases, so we are keeping it here with a special
16 # installation target.
17 install-perl-ucw-configure:
18         install -d -m 755 $(DESTDIR)$(INSTALL_PERL_DIR)/UCW/Configure
19         install -m 644 $(s)/ucw/perl/UCW/Configure.pm $(DESTDIR)$(INSTALL_PERL_DIR)/UCW
20         install -m 644 $(addprefix $(s)/ucw/perl/UCW/Configure/,$(UCW_CONFIGURE_PERL_MODULES)) $(DESTDIR)$(INSTALL_PERL_DIR)/UCW/Configure
21 .PHONY: install-perl-ucw-configure