summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.maint4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 263a2c7c0..0a2a35a15 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -56,6 +56,10 @@ null_AM_MAKEFLAGS = \
AUTOHEADER=false \
MAKEINFO=false
+# Detect format-string/arg-list mismatches that would normally be obscured
+# by the use of _(). The --disable-nls effectively defines away that macro,
+# and building with CFLAGS='-Wformat -Werror' causes any format warning to be
+# treated as a failure.
t=./=test
my-distcheck: writable-files po-check
-rm -rf $(t)