diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-14 22:26:23 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-14 22:26:23 +0000 |
commit | 46a7124432842be657cfe678341222ee2060d16a (patch) | |
tree | 1ee8258540f76bc4629e695387615258f06248ac | |
parent | d4d5df4d0256981338ac0776af462c8070744352 (diff) | |
download | initscripts-46a7124432842be657cfe678341222ee2060d16a.tar initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.gz initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.bz2 initscripts-46a7124432842be657cfe678341222ee2060d16a.tar.xz initscripts-46a7124432842be657cfe678341222ee2060d16a.zip |
simplify makefile
-rw-r--r-- | po/Makefile | 17 |
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: "; \ |