summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-09-18 12:15:55 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-09-18 12:15:55 +0000
commit1213c518b3020f7a4d67499c6d5bbc43f19ed47f (patch)
tree2c0a448eccf7c9f1fbaddaf0bdfbbbd876b02bef /po
parent75a6738bffb9e0868fdab575a61f08926d2cf167 (diff)
downloadquilt-1213c518b3020f7a4d67499c6d5bbc43f19ed47f.tar.gz
- Merge po/Makefile into Makefile.in. Add a lost @false to
Makefile.in.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/po/Makefile b/po/Makefile
deleted file mode 100644
index 556a9cc..0000000
--- a/po/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# scripts/parse-patch is perl based
-
-# LINGUAS = ...
-# localedir = ...
-
-all: $(LINGUAS:%=%.mo)
-
-%.mo : %.po
- msgfmt --statistics -o $@ $<
-
-%.po : quilt.pot
- msgmerge -o $@ $@ $^
-
-quilt.pot: $(filter-out ../debian/control.in ../doc/quilt.1.in ../doc/README.in, \
- $(wildcard ../*/*.in))
- rm -f quilt.pot; touch quilt.pot
- ( cd .. ; \
- for file in $+ ; do \
- file=$${file#../} ; \
- if head $$file | grep -q '@BASH@'; then \
- bash --dump-po-strings $$file ; \
- elif head $$file | grep -q '@PERL@'; then \
- xgettext --from-code=UTF-8 --omit-header --language=Perl \
- --keyword=_ -o - $$file; \
- else \
- echo "Don't know how to handle $$file" >&2 ; \
- fi \
- done ) \
- |msguniq \
- |msgcat --force-po -F - quilt.pot -o quilt.pot
-
-clean:
- rm -f *.mo *~
-
-install: all
- for lang in $(LINGUAS) ; do \
- install -d $(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES ; \
- install -m 644 $$lang.mo \
- $(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES/quilt.mo ; \
- done
-
-uninstall:
- for lang in $(LINGUAS) ; do \
- rm -f $(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES/quilt.mo ; \
- done
-
-.PHONY: install clean all