summaryrefslogtreecommitdiff
path: root/cfg.mk
Commit message (Collapse)AuthorAgeFilesLines
* main.mk: remove sc_program_namePino Toscano2016-09-051-1/+0
| | | | | | | There is no more need to use set_program_name in tools (getprogname is enough for most of the cases). * cfg.mk (local-checks-to-skip): Remove sc_program_name. * top/maint.mk (sc_program_name): Remove.
* maint: add a gnulib-local rule to keep non-ascii out of .texi filesJim Meyering2014-01-041-0/+12
| | | | | | * cfg.mk (sc_keep_gnulib_texi_files_mostly_ascii): New rule, so that "make sc_maint" will ding anyone who puts non-ascii in any of gnulib's .texi files.
* getpass: Assume AC_CHECK_DECLS_ONCE invocation, like in getpass.m4.Bruno Haible2012-07-221-1/+1
| | | | | | | * lib/getpass.h: Assume HAVE_DECL_GETPASS is defined. * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests): Remove exemption for getpass.h. Suggested by Eric Blake.
* fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4.Bruno Haible2012-07-151-1/+1
| | | | | | | * lib/fpending.h: Assume HAVE_DECL___FPENDING is defined. * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests) Remove exemption for fpending.h. Suggested by Eric Blake.
* maint.mk: new syntax check for HAVE_DECL checksEric Blake2012-07-131-0/+3
| | | | | | | | | | | | | | | | | Based on Karel's report, we might as well enforce a syntax check to help avoid future problems. https://lists.gnu.org/archive/html/coreutils/2012-06/msg00037.html Exempt a few files that still get picked up in the wild rather than as a full gnulib module with m4 files. * top/maint.mk (sc_prohibit_defined_have_decl_tests): New rule. * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests): Exempt some false positives. Based on a report by Karel Zak. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: enable the sc_avoid_if_before_free syntax-check ruleJim Meyering2012-07-121-1/+19
| | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_avoid_if_before_free. (if_before_free_offenders_): Define. (if_before_free_basename_re_): Define. Exempt current files with useless if-before-free.
* maint: disable the strncpy prohibitionJim Meyering2012-06-211-0/+3
| | | | * cfg.mk: Do not prohibit strncpy here.
* maint: avoid spurious "make sc_maint" failureJim Meyering2012-04-161-1/+1
| | | | | * cfg.mk (exclude_file_name_regexp--sc_trailing_blank): Also exempt all *.class file names, for lib/javaversion.class.
* maint: enable sc_trailing_blankJim Meyering2012-01-211-1/+2
| | | | | | | | * build-aux/pmccabe.css: Remove trailing blanks. * doc/acl-cygwin.txt: Likewise. * doc/gnu-oids.texi: Likewise * cfg.mk: Enable sc_trailing_blank. Exempt build-aux/texinfo.tex and doc/Copyright/assign.future.manual.
* maint: enable sc_prohibit_openat_without_useJim Meyering2012-01-211-1/+1
| | | | | * cfg.mk: Enable sc_prohibit_openat_without_use. Exempt lib/selinux-at.c.
* maint: enable sc_prohibit_cloexec_without_useJim Meyering2012-01-211-1/+0
| | | | | * cfg.mk: Enable sc_prohibit_cloexec_without_use. * lib/dup-safer-flag.c: Don't include "cloexec.h". Not needed.
* maint: enable sc_prohibit_intprops_without_useJim Meyering2012-01-211-1/+0
| | | | | | * cfg.mk: Enable sc_prohibit_intprops_without_use * tests/test-nanosleep.c: Don't include "intprops.h". Not needed. * lib/ftoastr.c: Likewise.
* maint: enable sc_prohibit_hash_pjw_without_useJim Meyering2012-01-211-1/+0
| | | | | | | * cfg.mk: Enable sc_prohibit_hash_pjw_without_use. * top/maint.mk (sc_prohibit_hash_pjw_without_use): Adjust regexp to match any use of \<hash_pjw\>, i.e., not necessarily with a following " (".
* maint: enable double-word-prohibiting ruleJim Meyering2012-01-211-1/+2
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word. Exempt three files.
* maint: remove empty lines at EOF, but excluding modules/*Jim Meyering2012-01-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply syntax rules at home as well as abroad. Most changes were induced by running this: make srcdir=. _build-aux=build-aux -f top/maint.mk \ sc_prohibit_empty_lines_at_EOF | grep -v modules/ \ | xargs perl -pi -0777 -e 's/\n\n+$/\n/' * cfg.mk (local-checks-to-skip): Enable sc_prohibit_empty_lines_at_EOF. Exempt modules/* and two binary files. Also exclude doc/INSTALL*, per request from Bruno Haible. * doc/regexprops-generic.texi: *Add* a newline at EOF. There was none. * doc/Copyright/assign.translation.manual: Remove empty lines at EOF. * doc/Copyright/request-assign.future: Likewise. * doc/Copyright/request-disclaim.changes: Likewise. * doc/INSTALL: Likewise. * doc/INSTALL.ISO: Likewise. * doc/INSTALL.UTF-8: Likewise. * doc/acl-cygwin.txt: Likewise. * doc/acl-resources.txt: Likewise. * doc/fdl-1.2.texi: Likewise. * doc/fdl-1.3.texi: Likewise. * doc/fdl.texi: Likewise. * lib/argp-pin.c: Likewise. * lib/round.c: Likewise. * lib/unicase/u16-totitle.c: Likewise. * lib/unictype/block_test.c: Likewise. * lib/uninorm/canonical-decomposition.c: Likewise. * m4/README: Likewise. * m4/relocatable-lib.m4: Likewise. * tests/test-isnand-nolibm.c: Likewise. * tests/test-isnand.c: Likewise. * tests/uninorm/NormalizationTest.txt: Likewise.
* maint: add framework to run syntax-check rules against gnulib sourcesJim Meyering2012-01-211-0/+56
* cfg.mk: New file, to disable all currently-failing tests. We'll enable them one by one, as they are made to pass. * Makefile (sc_maint): New rule.