On Fri, Jul 22, 2022 at 9:34 AM <th...@vmware.com> wrote:
> In your example, wouldn't the following accomplish the same thing?
>
>
> update-mandb:  $(DESTDIR)$(man3dir)/foo.3 $(DESTDIR)$(man3dir)/bar.3

i'd also be interested in the answer.
Either this traditional syntax specified above, or

$(DESTDIR)$(man3dir)/bar.3: man3/bar.3 | $(DESTDIR)$(man3dir)
        $(info INSTALL  $@)
        @$(INSTALL_DATA) -T $< $@
        @mandb

regards, Dmitry

Reply via email to