summaryrefslogtreecommitdiff
path: root/cfg.mk
Commit message (Collapse)AuthorAgeFilesLines
* maint: quote 'like this' not `like this'Paul Eggert2023-01-301-3/+3
|
* maint: update copyright datesJim Meyering2023-01-011-1/+1
|
* maint: post-release administriviaJim Meyering2022-11-061-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* maint: pacify ‘make syntax-check’Paul Eggert2022-07-031-6/+6
| | | | | | | | * THANKS.in: Put J.T. before Jakub again, as apparently that’s how it’s done in Fedora 36 which is bleeding edge. * cfg.mk (sc_THANKS_in_sorted): Update for Fedora 36 sort. (sc_gitignore_missing): The lib files to ignore are now in lib/.gitignore, not .gitignore.
* maint: exempt doc/fdl.texi from long-line checkJim Meyering2022-07-021-0/+1
| | | | * cfg.mk (FILTER_LONG_LINES): Also exempt doc/fdl.texi.
* maint: make update-copyrightJim Meyering2022-01-011-1/+1
|
* maint: syntax-check: disable the indent checkJim Meyering2021-12-241-0/+1
| | | | | | * cfg.mk (local-checks-to-skip): Add sc_indent. Otherwise, "make syntax-check" would fail for me on a fedora 25 system.
* maint: update all copyright year number rangesAssaf Gordon2021-01-051-1/+1
| | | | | | | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * bootstrap.conf (gnulib_modules): Remove getopt module, depracated in https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=0abc38bd2a1398f0 * po/POTFILES.in: Remove getopt.c * sed/utils.h (panic): Rename _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD following gnulib's change: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=387d654cabd7bc15 * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise.
* build: update to newer help2manJim Meyering2020-03-231-1/+1
| | | | | | | | * build-aux/help2man: Update from coreutils. This updates from 1.28 to 1.47.3 * cfg.mk (exclude_file_name_regexp--sc_long_lines): Exempt help2man from the 80-column-max limit. This addresses https://bugs.gnu.org/30471
* maint: post-release administriviaJim Meyering2020-01-141-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* maint: update all copyright year number rangesJim Meyering2020-01-011-1/+1
| | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise.
* maint: update copyright dates for 2019Assaf Gordon2019-01-011-1/+1
| | | | * all files: Run "make update-copyright".
* maint: use https: in gnu mirror URL prefix, not httpJim Meyering2018-12-201-1/+1
| | | | | This appears in the generated release announcement message. * cfg.mk (url_dir_list): Use https: prefix, not http:.
* maint: post-release administriviaJim Meyering2018-12-201-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* maint: post-release administriviaJim Meyering2018-12-191-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* build: use system's native sed during buildAssaf Gordon2018-08-231-4/+8
| | | | | | | | | | Use the locally built sed binary only during 'check*' targets, but not during build/installation targets - it might be buggy, or contain temporary debugging/ASAN features that can break the build. See: https://lists.gnu.org/r/sed-devel/2018-08/msg00013.html . * cfg.mk (PATH): Add the 'sed' directory to the PATH only if this is a 'check' target.
* maint: add undefined-behavior build targetAssaf Gordon2018-08-081-0/+27
| | | | | | | | Using gcc-specific options, a recent gcc is required. build with: make build-ubsan CC=gcc-8.2 * cfg.mk (build-ubsan): New target.
* maint: add address-sanitizer build targetAssaf Gordon2018-08-081-0/+12
| | | | | | use 'make build-asan' to rebuild sed with gcc's address sanitizer. * cfg.mk (build-asan): New target.
* maint: syntax-check: prohibit-operator-at-eolAssaf Gordon2018-08-041-0/+12
| | | | | | * cfg.mk (sc_prohibit_operator_at_end_of_line): Copied from coreutils' cfg.mk. * sed/execute.c (do_subst,execute_program): Adjust as needed.
* maint: syntax-check: fail-0 and fail-1 in shell script testsAssaf Gordon2018-08-041-0/+20
| | | | | | * cfg.mk (prohibit_fail_0,sc_prohibit_and_fail_1): Copied from coreutils' cfg.mk * testsuite/*.sh: Remove 'fail=0'.
* maint: syntax-check: add various test-related checksAssaf Gordon2018-08-041-0/+40
| | | | | | | * cfg.mk (sc_prohibit_env_returns, sc_prohibit_perl_hash_quotes, sc_prohibit_verbose_version, sc_prohibit_framework_failure, sc_prohibit_test_backticks, sc_prohibit_test_empty): Copied from coreutils' cfg.mk.
* maint: syntax-check: add sc_prohibit_strncmpAssaf Gordon2018-08-041-0/+8
| | | | | | * cfg.mk (sc_prohibit_strncmp): Copied from coreutils' cfg.mk. * basicdefs.h (STREQ,STREQ_LEN,STRPREFIX): Copied from coreutils' system.h. * sed/execute.c (translate_mb): Replace strncmp with STREQ_LEN.
* maint: syntax-check: add sc_gitignore_missingAssaf Gordon2018-08-041-0/+9
| | | | | * cfg.mk (sc_gitignore_missing): Copied from coreutils' cfg.mk. * .gitignore: Add missing files.
* maint: syntax-check: prohibit-form-feedAssaf Gordon2018-08-041-0/+7
| | | | | | * cfg.mk (sc_prohibit-form-feed): Copied from coreutils' cfg.mk. * sed/compile.c, sed/execute.c, sed/regexp.c, sed/sed.h, sed/utils.c: Remove form feed characters.
* maint: syntax-check: space-before-open-parenAssaf Gordon2018-08-041-0/+58
| | | | | | * cfg.mk (sc_space_before_open_paren): Copy target from coreutils' cfg.mk. * basicdefs.h, sed/compile.c, sed/execute.c, sed/regexp.c, sed/sed.c, sed/utils.c: Add space before parentheses.
* maint: post-release administriviaJim Meyering2018-03-311-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* maint: change http to https in license headersAssaf Gordon2018-02-131-1/+1
| | | | * all files: Change http to https for all licenses URL.
* maint: make cfg.mk slightly more genericJim Meyering2018-01-311-1/+1
| | | | | * cfg.mk (announcement_Cc_): Don't hard-code "sed-devel@". Use "$(PACKAGE)-devel@" instead.
* maint: update gnulib and copyright dates for 2018Assaf Gordon2018-01-021-1/+1
| | | | | * gnulib: Update to latest. * all files: Run "make update-copyright".
* maint: stop using @acronym{...} in texinfo sourcesJim Meyering2017-05-131-1/+0
| | | | | | | * doc/sed.texi, doc/config.texi: Remove all uses of @acronym{...}, per recommendation by Karl Berry. * cfg.mk (local-checks-to-skip): Remove exemption, enabling the @acronym{-prohibiting syntax-check rule.
* maint: post-release administriviaJim Meyering2017-02-031-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* doc: fix NEWS typoJim Meyering2017-01-071-1/+1
| | | | | | * NEWS: Fix typo s/introducted/introduced/ * cfg.mk (old_NEWS_hash): Update. Reported by Karl Berry.
* maint: update gnulib and copyright dates for 2017Jim Meyering2017-01-011-1/+1
| | | | | * gnulib: Update to latest. * all files: Run "make update-copyright".
* maint: post-release administriviaJim Meyering2016-12-301-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* tests: use just-built sed in more placesJim Meyering2016-12-181-0/+5
| | | | | | | | * cfg.mk (PATH): Prepend $(srcdir)/src, so that we use the just- built sed also when running commands like those of "make distcheck". Tested by running this in a just-built directory: f=sed/sed; printf '%s\n' '#!/bin/sh' 'sleep 9h' > $f; chmod a+x $f and then verifying that nearly every "make syntax-check" rule hangs.
* maint: fix two "make syntax-check" failuresJim Meyering2016-11-271-1/+1
| | | | | | * cfg.mk (exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF): Also exempt zero-anchor.{inp,good}. * sed/regexp.c (match_regex): s/can not/cannot/
* maint: add static-analysis target to cfg.mkAssaf Gordon2016-07-261-0/+24
| | | | | | | | Run 'make static-anslysis' to perform static code analysis using clang's 'scan-build' tool. * cfk.mk: (static-analysis,static-analysis-init,static-analysis-config, static-analysis-make): New targets.
* maint: skip a check when en_US.UTF-8 collation rules are brokenJim Meyering2016-07-251-8/+14
| | | | | | | | * cfg.mk (sc_THANKS_in_sorted): This check would fail on systems for which "." is not ignored. Add a quick sort-based check for that error, and skip the check on any broken system. This also corrects the command to use $(srcdir)/THANKS.in, rather than just THANKS.in.
* maint: update copyright year, bootstrap, init.shJim Meyering2016-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest. * tests/init.sh: Update from gnulib. * bootstrap: Likewise.
* maint: housekeeping: sync a few rules from coreutilsJim Meyering2015-05-031-1/+25
| | | | | | | | | | | * cfg.mk (sc_preprocessor_indentation): New rule, from coreutils. (local-checks-to-skip): Exempt it, for now. (sc_THANKS_in_sorted): Another rule from coreutils. Enabled. (announcement_Cc_): Define, so the auto-generated announcement message template includes sed-devel@ as a recipient. (update-copyright-env) [UPDATE_COPYRIGHT_USE_INTERVALS]: Update to use =2, rather than=1, so that the next time we update copyright dates, it will collapse a few more ranges.
* maint: enable sc_file_systemJim Meyering2015-05-011-1/+0
| | | | | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. * BUGS (characters): s/filesystem/file system/ * ChangeLog-2014 (setup_jump): Likewise. * doc/sed-in.texi: Likewise. * doc/sed.texi: Likewise.
* maint: enable sc_prohibit_long_linesJim Meyering2015-01-011-2/+5
| | | | | | | | | | | | | | | | | * cfg.mk (local-checks-to-skip): Remove the overall exemption, but continue to exempt some files in testsuite/. * configure.ac: Split a long line. * doc/sed-in.texi: Split long lines. * doc/sed.texi: Likewise. * sed/compile.c: Likewise. * sed/execute.c: Split long lines. (execute_program): Reorder "#ifdef HAVE_POPEN" and "if (pipe_fp != NULL)" if/else blocks to make the code clearer and (incidentally) the lines shorter, due to a decrease in nesting level. * sed/sed.c: Split long lines. * sed/utils.c: Likewise. * sed/utils.h: Likewise.
* maint: update copyright year ranges to include 2015; update gnulibJim Meyering2015-01-011-1/+1
|
* maint: enable sc_prohibit_strncpy checkJim Meyering2014-12-201-1/+0
| | | | | | | | * cfg.mk (exclude_file_name_regexp--sc_prohibit_strncpy): Remove its exemption. * sed/compile.c (compile_program): Remove two misuses of strncpy; use memcpy instead. * sed/execute.c (do_list): Likewise, for one instance.
* maint: enable sc_prohibit_empty_lines_at_EOF checkJim Meyering2014-11-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * cfg.mk (exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF): * cfg.mk (local-checks-to-skip): Remove its exemption. Adjust many files to end in a single newline, but exempt a few test suite input and output files. * testsuite/fasts.sed: Remove three empty lines at EOF. * BUGS: Remove empty line at EOF. * sed/mbcs.c: Likewise. * sed/sed.h: Likewise. * testsuite/BOOST.tests: Likewise. * testsuite/dc.inp: Add a newline at EOF; there was none. * testsuite/flipcase.sed: Likewise. * testsuite/utf8-1.good: Likewise. * testsuite/utf8-1.inp: Likewise. * testsuite/utf8-2.good: Likewise. * testsuite/utf8-2.inp: Likewise. * testsuite/utf8-3.good: Likewise. * testsuite/utf8-3.inp: Likewise. * testsuite/utf8-4.good: Likewise. * testsuite/utf8-4.inp: Likewise. * testsuite/xbxcx.good: Likewise. * testsuite/xbxcx.inp: Likewise. * testsuite/xemacs.good: Likewise. * testsuite/xemacs.inp: Likewise.
* maint: enable sc_prohibit_tab_based_indentation syntax checkJim Meyering2014-11-301-2/+6
| | | | | | | | | | | | | | | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. Exempt all files under testsuite/, for now, and a few others. * .gitmodules: Change each leading TAB to 8 spaces spaces. * BUGS: Likewise. * NEWS: Likewise. * configure.ac: Likewise. * sed/compile.c: Likewise. * sed/execute.c: Likewise. * sed/fmt.c: Likewise. * sed/regexp.c: Likewise. * sed/sed.c: Likewise. * sed/sed.h: Likewise. * sed/utils.c: Likewise. * sed/utils.h: Likewise. * COPYING: Update from coreutils.
* maint: enable sc_m4_quote_check syntax checkJim Meyering2014-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. * configure.ac: Fix the under-quoting problems thus exposed.
* maint: enable sc_cast_of_argument_to_free syntax checkJim Meyering2014-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. * testsuite/tst-rxspencer.c (mb_test): Remove a cast.
* maint: enable sc_cast_of_alloca_return_value syntax checkJim Meyering2014-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. * sed/regexp.c (match_regex): Do not cast return value of alloca.
* maint: enable sc_po_check syntax checkJim Meyering2014-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Remove its exemption. * po/POTFILES.in: Adjust to reflect added/removed file names.