Re: [PATCH 4/7] docs: exclude documentation for commands that have been excluded
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Apr 12, 2019, 18:46 UTC
- Message-ID
- <CAPig+cTiF-9+pXnx19y0PUs3Nwek7N2cEg2r2jAPzEXPTvpxpA@mail.gmail.com>
- In-Reply-To
- <31d8e43cbfaec36f662006a711b64bca47009e59.1555070430.git.gitgitgadget@gmail.com>
On Fri, Apr 12, 2019 at 8:00 AM Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 12 quoted lines
> When building with certain build options, some commands are excluded > from the build. For example, `git-credential-cache` is skipped when > building with `NO_UNIX_SOCKETS`. > > Let's not build or package documentation for those excluded commands. > [...] > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > --- > diff --git a/Makefile b/Makefile > @@ -2455,22 +2455,25 @@ $(VCSSVN_LIB): $(VCSSVN_OBJS) > +Documentation/GIT-EXCLUDED-PROGRAMS: Makefile config.mak.uname > + $(QUIET_GEN)echo "EXCLUDED_PROGRAMS := $(EXCLUDED_PROGRAMS)" >$@
Should this rule also have a dependency upon "config.mak.autogen"? Perhaps like this:
Documentation/GIT-EXCLUDED-PROGRAMS: Makefile $(wildcard config.mak*)