diff options
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/po/Makefile b/po/Makefile index a3ded83e..056f5e78 100644 --- a/po/Makefile +++ b/po/Makefile @@ -17,12 +17,12 @@ all: $(NLSPACKAGE).pot $(FMTCATALOGS) $(NLSPACKAGE).pot: $(POTFILES) @echo "Please don't run 'make initscripts.pot unless you have a *FULL*, current install." - #./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po - #if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \ - # rm -f $(NLSPACKAGE).po; \ - #else \ - # mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \ - #fi + ./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po + if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \ + rm -f $(NLSPACKAGE).po; \ + else \ + mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \ + fi refresh-po: Makefile catalogs='$(CATALOGS)'; \ |