CVS patchset: 2481
CVS date: 1998/10/22 18:43:50
This commit is contained in:
ewt 1998-10-22 18:43:50 +00:00
parent dbf444268c
commit 10c722007a
1 changed files with 3 additions and 7 deletions

View File

@ -16,13 +16,14 @@ NLSPACKAGE = popt
LINGUAS =
CATALOGS = $(addsuffix .mo, $(LINGUAS))
POTFILES = \
POTFILES = $(shell ls ../*.c)
all: $(NLSPACKAGE).pot $(CATALOGS)
$(NLSPACKAGE).pot: $(POTFILES)
xgettext --default-domain=$(NLSPACKAGE) \
--add-comments --keyword=_ --keyword=N_ $(POTFILES)
--add-comments --keyword=_ --keyword=N_ \
--keyword=POPT_ $(POTFILES)
if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
rm -f $(NLSPACKAGE).po; \
else \
@ -71,10 +72,5 @@ POTFILES: POTFILES.in
-e "s@.*@ $$posrcprefix& \\\\@" \
-e '$$s/\(.*\) \\/\1/' < $(srcdir)/POTFILES.in > POTFILES )
Makefile: Makefile.in.in ../config.status POTFILES
cd .. \
&& CONFIG_FILES=po/$@.in CONFIG_HEADERS= \
$(SHELL) ./config.status
%.mo: %.po
msgfmt -o $@ $<