G. Branden Robinson wrote:
> > So, maybe changes lines like this:
> > 
> > src/libs/libgroff/libgroff_a-relocate.$(OBJEXT): defs.h
> > 
> > to lines like this:
> > 
> > src/libs/libgroff/libgroff_a-relocate.$(OBJEXT): $(BUILT_SOURCES)
> > 
> > and add a similar rule for src/libs/libgroff/libgroff_a-font.$(OBJEXT).
> 
> Hmm!  Okay, I'll think about the implications here.

Another possibility is to add these lines to Makefile.am:

  # This is implicit in "make all", but is needed explicitly before other target
  # invocations.
  built-sources: $(BUILT_SOURCES)

Then people like Richard can run
  $ make built-sources specific-target
instead of
  $ make specific-target
and thus get a certain target built without the need to do "make all".

It is particularly useful for the 'make dist' target, which is required
to work _without_ preceding 'make all'. [1]

Bruno

[1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html



      • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
      • ... G. Branden Robinson
        • ... Paul Eggert
          • ... G. Branden Robinson
            • ... Richard Purdie
              • ... Nguyễn Gia Phong via discussion of the GNU roff typesetting system and related software
              • ... G. Branden Robinson
              • ... G. Branden Robinson
              • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
              • ... Richard Purdie
        • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
          • ... Richard Purdie
  • ... G. Branden Robinson
    • ... Richard Purdie
    • ... Dave Kemper
      • ... G. Branden Robinson
        • ... Dave Kemper
    • ... Deri via discussion of the GNU roff typesetting system and related software
      • ... G. Branden Robinson

Reply via email to