From c14e063462e668e3e1c4c9d84828c1c3eb57abbb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 20 Jan 2004 11:27:52 +0000 Subject: fix build by getting rid of "fake perl code as c code" --- po/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index f6128121..47b4e6ca 100644 --- a/po/Makefile +++ b/po/Makefile @@ -6,17 +6,12 @@ PGOAL = drakwizard # perl files with translatable strings PL_FILES = ../drakwizard.pl $(shell find .. -type f -name "*pm") -PL_CFILES = $(PL_FILES:%=%_.c) - POFILES = $(shell ls *.po) MOFILES = $(POFILES:%.po=%.mo) LANGS = $(POFILES:%.po=%) all: $(PGOAL).pot $(MOFILES) -$(PL_CFILES): %_.c: % - ./fake_c.pl $< > $@ - %.mo: %.po msgfmt -o $@ $< @@ -27,11 +22,11 @@ merge: $(PGOAL).pot mv -f "$$n"t "$$n"; \ done -$(PGOAL).pot: $(PL_CFILES) $(WIZCFILES) +$(PGOAL).pot: $(WIZCFILES) xgettext -F -n --add-comments='I18N' \ --keyword=_ --keyword=__ --keyword=N_ --keyword=N \ - --language=C -o $@ $(PL_CFILES) $(WIZCFILES) - @rm -rf $(PL_CFILES) $(WIZCFILES) + -o $@ $(PL_FILES) $(WIZCFILES) + @rm -rf $(WIZCFILES) install: all for l in $(LANGS); do \ @@ -40,5 +35,5 @@ install: all done clean: - @rm -rf *.mo $(POFILES:%=%t) $(PL_CFILES) $(WIZCFILES) $(PGOAL).pot + @rm -rf *.mo $(POFILES:%=%t) $(WIZCFILES) $(PGOAL).pot -- cgit v1.2.1