summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
authorPino Toscano <ptoscano@redhat.com>2016-08-18 15:18:25 +0200
committerJim Meyering <meyering@fb.com>2016-09-05 09:21:54 -0700
commit38c0fe5ca155e103f3c70abcf5ac82a582bfd937 (patch)
tree6d922b4da9155575778412daa4b887abb8b81872 /top/maint.mk
parentf7bf2e4445d7cd5962689582e8b12607435e148b (diff)
downloadgnulib-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.
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk9
1 files changed, 0 insertions, 9 deletions
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 *\(' \