Re: how to manage make(1) dependencies on gnulib-generated header files
Richard Purdie <[email protected]> Fri, 31 Jul 2026 09:49:20 +0100
| Newsgroups | gmane.comp.printing.groff.general,gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <656e7a8ec7453e1e05e6bed15bfc927b51fc3f9a.camel@linuxfoundation.org> |
On Wed, 2026-07-29 at 00:55 +0200, Bruno Haible wrote: > G. Branden Robinson wrote: > > > So, maybe changes lines like this: > > >=20 > > > src/libs/libgroff/libgroff_a-relocate.$(OBJEXT): defs.h > > >=20 > > > to lines like this: > > >=20 > > > src/libs/libgroff/libgroff_a-relocate.$(OBJEXT): $(BUILT_SOURCES) > > >=20 > > > and add a similar rule for src/libs/libgroff/libgroff_a-font.$(OBJEXT= ). > >=20 > > Hmm!=C2=A0 Okay, I'll think about the implications here. >=20 > Another possibility is to add these lines to Makefile.am: >=20 > =C2=A0 # This is implicit in "make all", but is needed explicitly before = other target > =C2=A0 # invocations. > =C2=A0 built-sources: $(BUILT_SOURCES) >=20 > Then people like Richard can run > =C2=A0 $ make built-sources specific-target > instead of > =C2=A0 $ make specific-target > and thus get a certain target built without the need to do "make all". >=20 > It is particularly useful for the 'make dist' target, which is required > to work _without_ preceding 'make all'. [1] That makes sense and it what I had in mind to work around the issues. I can always just add it for debugging. Thanks! Cheers, Richard