tools/gengetopt: override SUBDIRS variable with Makefile
authorMichael Pratt <mcpratt@pm.me>
Sun, 26 Mar 2023 08:11:13 +0000 (04:11 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 4 May 2023 04:07:28 +0000 (06:07 +0200)
commit4437434b8a4c8c4f9000caeb773c1aa248a6d29a
tree499d4f6da2731b92f0a077f1a13f36c04c8dd8b8
parente764a909e3d468a5597373cac087ecc008540e2d
tools/gengetopt: override SUBDIRS variable with Makefile

Instead of editing the SUBDIRS variable with a patch,
it can be overriden at the end of the command line when invoking Make.

This tool has a series of recursive Makefiles in each subdirectory,
therefore SUBDIRS is set to a pattern of Make functions
so that the result is variable depending on the current subdirectory
that Make is being invoked in.

By eliminating the patch, autoreconf is no longer required.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
tools/gengetopt/Makefile
tools/gengetopt/patches/100-no-tests-docs.patch [deleted file]