diff options
author | Pino Toscano <ptoscano@redhat.com> | 2016-08-18 15:18:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2016-09-05 09:21:54 -0700 |
commit | 38c0fe5ca155e103f3c70abcf5ac82a582bfd937 (patch) | |
tree | 6d922b4da9155575778412daa4b887abb8b81872 | |
parent | f7bf2e4445d7cd5962689582e8b12607435e148b (diff) | |
download | gnulib-38c0fe5ca155e103f3c70abcf5ac82a582bfd937.tar.gz |
main.mk: remove sc_program_name
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | top/maint.mk | 9 |
3 files changed, 8 insertions, 10 deletions
@@ -1,5 +1,13 @@ 2016-08-18 Pino Toscano <ptoscano@redhat.com> + main.mk: remove sc_program_name, since 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. + +2016-08-18 Pino Toscano <ptoscano@redhat.com> + Port tests away from progname, since modules that need the program name already depend on getprogname. * modules/acl-tests (Depends-on): Remove progname. @@ -27,7 +27,6 @@ local-checks-to-skip = \ sc_makefile_at_at_check \ sc_makefile_path_separator_check \ sc_obsolete_symbols \ - sc_program_name \ sc_prohibit_HAVE_MBRTOWC \ sc_prohibit_S_IS_definition \ sc_prohibit_always_true_header_tests \ diff --git a/top/maint.mk b/top/maint.mk index 868e10f004..c32f8b6d0e 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -717,15 +717,6 @@ sc_changelog: $(_sc_search_regexp) # Ensure that each .c file containing a "main" function also -# calls set_program_name. -sc_program_name: - @require='set_program_name *\(.*\);' \ - in_vc_files='\.c$$' \ - containing='\<main *(' \ - halt='the above files do not call set_program_name' \ - $(_sc_search_regexp) - -# Ensure that each .c file containing a "main" function also # calls bindtextdomain. sc_bindtextdomain: @require='bindtextdomain *\(' \ |