Re: User-configurable HTML splitting

Heime <[email protected]> Tue, 26 May 2026 13:37:25 +0000
Newsgroups gmane.comp.gnu.make.general
Message-ID <9eq7F2-36ZD-fwIMQdKJeCDgxtpYcDK-K3rocvYGjyzMRJ0O2x3C1pHAtX5N4ffFVuDL-8Uoy7law5IUbAutwzjOo8FkL34gs2VHOo5UYaQ=@protonmail.com>
On Wednesday, May 27th, 2026 at 1:27 AM, Eli Zaretskii <[email protected]> wrote=
:

> > Date: Tue, 26 May 2026 13:02:25 +0000
> > From: Heime <[email protected]>
> > Cc: [email protected]
> >
> > > You can do this:
> > >
> > >   make -f antares.mk SPLIT=3Dchapter html
> > >
> > > and in the Makefile say
> > >
> > >   makeinfo $(opts) --html --split=3D$(SPLIT) -o $@ $<
> >
> > For an unspecified split, the above would be --split=3D
>=20
> Yes, I left that as an exercise.  The default value should be in the
> Makefile.
>=20
> >    makeinfo $(opts) --html --split=3D -o $@ $<
> >
> > I would like to use a variable DECAL for the --split option,
> > so it will be completely empty if the option is not used.
>=20
> GNU Make supports conditionals, you know.

I want makeinfo to default it, meaning the default would be not=20
to specify the --split.

How would the conditions be used as example?