I could not append hopc like this .PHONY: trlfn ndf
trlfn: hopc += --transliterate-file-names ndf: hopc += --node-files because of this error make -f antares.mk split=node trlfn ndf sm hopc += --transliterate-file-names make: hopc: No such file or directory make: *** [antares.mk:308: trlfn] Error 127 On Monday, June 22nd, 2026 at 9:15 AM, Heime <[email protected]> wrote: > > In my makefile I accumulate option values in variable hopc. > > Running the makefile as follows results in > make -f antares.mk split=node trlfn ndf sm > make: *** No rule to make target 'trlfn'. Stop. > > How can I avoid the problem with trlfn and ndf? > > hopc := > > ifneq ($(css),) > hopc += --css-include=$(css) > endif > > ifneq ($(css-ref),) > hopc += --css-ref=$(css-ref) > endif > > ifneq ($(links),) > hopc += --internal-links=$(links) > endif > > ifneq ($(split),) > hopc += --split=$(split) > endif > > ifneq ($(trlfn),) > hopc += --transliterate-file-names > endif > > ifneq ($(ndf),) > hopc += --node-files > endif > > $(hmldir)/antares.html: $(srcs) | $$(@D) > makeinfo $(opts) --html $(hopc) -o $@ $< > > > >
