]> granicus.if.org Git - sudo/commitdiff
Warn if unable to run xgettext or msgfmt.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 7 Aug 2018 12:10:21 +0000 (06:10 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 7 Aug 2018 12:10:21 +0000 (06:10 -0600)
Makefile.in

index b88d4a99de4df7adf6afe87be8783895d32a0261..3807792416dbf936863e4f9684318bf4be3d69e5 100644 (file)
@@ -238,6 +238,8 @@ update-pot:
                    rm -f $$pot.tmp; \
                fi; \
            done; \
+       else \
+           echo "Unable to update .pot files: $(XGETTEXT) not found" 1>&2; \
        fi
 
 update-po: update-pot
@@ -251,6 +253,8 @@ update-po: update-pot
                    $(MSGFMT) --output /dev/null --check-format $$po || exit 1; \
                done; \
            done; \
+       else \
+           echo "Unable to update .po files: $(MSGFMT) not found" 1>&2; \
        fi
 
 compile-po:
@@ -273,6 +277,8 @@ compile-po:
            done; \
            $(MAKE) -f Makefile.$$$$; \
            rm -f Makefile.$$$$; \
+       else \
+           echo "Unable to compile message catalogs: $(MSGFMT) not found" 1>&2; \
        fi
 
 install-nls: