X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fperl%2FUCW%2FMakefile;h=1ae12212abee583e31070466f01fd06b32576240;hb=a4fe009d3366b0a3e119713b0ecc7fc0070efdfa;hp=b080fec7710b6b986c2124002954151108754f44;hpb=60ff9b9487c208e8c6e3ef0a6507204f90c8ad12;p=libucw.git diff --git a/ucw/perl/UCW/Makefile b/ucw/perl/UCW/Makefile index b080fec7..1ae12212 100644 --- a/ucw/perl/UCW/Makefile +++ b/ucw/perl/UCW/Makefile @@ -2,6 +2,13 @@ DIRS+=ucw/perl/UCW EXTRA_RUNDIRS+=lib/perl5/UCW -PROGS+=$(addprefix $(o)/ucw/perl/UCW/,Config.pm Log.pm CGI.pm Configure.pm) +UCW_PERL_MODULES=$(addsuffix .pm,Config Log CGI Configure) +PROGS+=$(addprefix $(o)/ucw/perl/UCW/,$(UCW_PERL_MODULES)) include $(s)/ucw/perl/UCW/Configure/Makefile + +INSTALL_TARGETS+=install-perl-ucw +install-perl-ucw: + install -d -m 755 $(DESTDIR)$(INSTALL_PERL_DIR)/UCW + install -m 644 $(addprefix $(s)/ucw/perl/UCW/,$(UCW_PERL_MODULES)) $(DESTDIR)$(INSTALL_PERL_DIR)/UCW +.PHONY: install-perl-ucw