Catching passed options to makeinfo

Heime <[email protected]> Sun, 07 Jun 2026 08:57:15 +0000
Newsgroups gmane.comp.gnu.make.general
Message-ID <G3nCFAnuLNrECWmY3_Rjm16pnx-iqZN1F-s8J80P2V8zCKOH7fgdeWL0diz6ueM6Dd6_8jjZIVrCGu0N5_YVhBrx5vftQHLh8T9Y9rLfJVI=@protonmail.com>
I want to use a makefile to run makeinfo.  Bun need a good way
to pass makeinfo options such as --split=3Dchapter and others the
user wants to apply.

How can I handle this?

I want to avoid passing using a variable like this

make -f myfile.mk opt=3D--split=3Dchapter

Rather, I want a direct setting like thisn

make -f myfile.mk -- --html --split=3Dchapter

And be able to pass all option to the command part of a=20
makefile rule.