aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-14 22:26:23 +0000
committerBill Nottingham <notting@redhat.com>2001-03-14 22:26:23 +0000
commit46a7124432842be657cfe678341222ee2060d16a (patch)
tree1ee8258540f76bc4629e695387615258f06248ac /po/Makefile
parentd4d5df4d0256981338ac0776af462c8070744352 (diff)
downloadinitscripts-46a7124432842be657cfe678341222ee2060d16a.tar
initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.gz
initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.bz2
initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.xz
initscripts-46a7124432842be657cfe678341222ee2060d16a.zip
simplify makefile
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/po/Makefile b/po/Makefile
index ff6927ff..a3ded83e 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -24,21 +24,6 @@ $(NLSPACKAGE).pot: $(POTFILES)
# mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \
#fi
-
-update-po: Makefile
- $(MAKE) $(NLSPACKAGE).pot
- catalogs='$(CATALOGS)'; \
- for cat in $$catalogs; do \
- lang=`basename $$cat .po`; \
- if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \
- mv -f $$lang.pot $$lang.po ; \
- echo "$(MSGMERGE) of $$lang succeeded" ; \
- else \
- echo "$(MSGMERGE) of $$lang failed" ; \
- rm -f $$lang.pot ; \
- fi \
- done
-
refresh-po: Makefile
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@@ -52,6 +37,8 @@ refresh-po: Makefile
fi \
done
+update-po: $(NLSPACKAGE).pot Makefile refresh-po
+
report:
@for cat in $(CATALOGS); do \
echo -n "$$cat: "; \