From: Pádraig Brady Date: Sat, 12 Jul 2014 14:21:12 +0000 (+0100) Subject: maint.mk: give projects more flexibilty in set_prog_name arguments X-Git-Tag: v1.0~7334 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4044ca9a9c317335c0f730e9417e57343029d3c4;p=gnulib.git maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example. --- diff --git a/top/maint.mk b/top/maint.mk index 0cc769c535..e5a3782921 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -711,7 +711,7 @@ sc_changelog: # Ensure that each .c file containing a "main" function also # calls set_program_name. sc_program_name: - @require='set_program_name *\(m?argv\[0\]\);' \ + @require='set_program_name *\(.*\);' \ in_vc_files='\.c$$' \ containing='\