From 2b6d115da4ba39a0b30eb6e014684d82101f3265 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 17 Dec 1999 00:21:09 +0000 Subject: no_comment --- po/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 po/Makefile (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 00000000..5005a700 --- /dev/null +++ b/po/Makefile @@ -0,0 +1,21 @@ +POFILES = $(shell ls *.po) +LOCALEDIR = $(PREFIX)/usr/share/locale + +all: $(POFILES) + +install: $(POFILES) + for i in $(POFILES:%.po=%); do \ + install -d $(LOCALEDIR)/$$i/LC_MESSAGES ; \ + cp -f $$i.po $(LOCALEDIR)/$$i/LC_MESSAGES/urpmi.po ; \ + done + +clean: + rm -f messages empty.po $(POFILES:%=%t) + +$(POFILES): urpmi.pot + cp -f $@ $@t + msgmerge $@t $< > $@ + rm $@t + +urpmi.pot: ../urpmi + xgettext -L C -F -n --keyword=_ -o $@ $< -- cgit v1.2.1