diff options
Diffstat (limited to 'perl-install/install/share')
-rw-r--r-- | perl-install/install/share/po/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/perl-install/install/share/po/Makefile b/perl-install/install/share/po/Makefile index c20d6e764..7d444738d 100644 --- a/perl-install/install/share/po/Makefile +++ b/perl-install/install/share/po/Makefile @@ -1,6 +1,7 @@ NAME = DrakX LOCALEDIR = ${prefix}/share/locale -PMSFILES = *.pm share/meta-task/compssUsers.pl* ../../advertising/*.pl +METATASK = share/meta-task/compssUsers.pl +PMSFILES = *.pm $(METATASK) ../../advertising/*.pl PMSFILES_HERE = $(wildcard $(PMSFILES:%=../../%)) MAIN_PO_FILES = ../../../share/po/libDrakX.pot @@ -23,7 +24,11 @@ merge: $(NAME).pot mv -f "$$n"t $$n ; \ done -$(NAME).pot: $(PMSFILES_HERE) +../../$(METATASK): + mkdir -p ../../share/meta-task + svn cat svn://svn.mageia.org/svn/packages/cauldron/meta-task/current/SOURCES/compssUsers.pl > $@ + +$(NAME).pot: $(PMSFILES_HERE) ../../$(METATASK) cd ../.. ; perl_checker -q --generate-pot share/po/.$@ $(PMSFILES) xgettext $(MAIN_PO_FILES:%=-x %) -o $@ .$@ rm -f .$@ @@ -35,4 +40,5 @@ install: $(MOFILES) done clean: - @rm -rf *.mo $(POFILES:%=%t) + @rm -rf *.mo $(POFILES:%=%t) ../../$(METATASK) + @rmdir ../../share/meta-task |