build: fix syntax-check issues

* cfg.mk: We do want to gettextize the examples.
* po/POTFILES.in: Adjust.
This commit is contained in:
Akim Demaille
2020-04-29 08:44:27 +02:00
parent 8e11933e41
commit 52ababbc89
3 changed files with 5 additions and 1 deletions

2
cfg.mk
View File

@@ -156,7 +156,7 @@ exclude = \
$(call exclude, \
bindtextdomain=^lib/main.c$$ \
cast_of_argument_to_free=^src/muscle-tab.c$$ \
po_check=^(examples|tests)/|(^po/POTFILES.in|.md)$$ \
po_check=^tests|(^po/POTFILES.in|.md)$$ \
preprocessor_indentation=^data/|^lib/|^src/parse-gram.[ch]$$ \
program_name=^lib/main.c$$ \
prohibit_always-defined_macros=^data/skeletons/yacc.c$$ \