X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Fperl%2FUCW%2FMakefile;h=ddbcfecfa4f98252dbc3f2fd10f171ac7c4c02d5;hb=68de14ab2618ebf4afa9630299cef5eafe13d1be;hp=b080fec7710b6b986c2124002954151108754f44;hpb=8b1c772cc84995e5277db3fe6947c8c746696534;p=libucw.git diff --git a/ucw/perl/UCW/Makefile b/ucw/perl/UCW/Makefile index b080fec7..ddbcfecf 100644 --- a/ucw/perl/UCW/Makefile +++ b/ucw/perl/UCW/Makefile @@ -2,6 +2,14 @@ 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/CGI/Makefile 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