bugGforth - Bugs: bug #46721, Documentation build rules fail in...

 
 

bug #46721: Documentation build rules fail in out-of-tree build

Submitter:  None
Submitted:  Sat 19 Dec 2015 06:00:51 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  paysan
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Dec 2015 09:15:00 PM UTC, comment #1: 

Yes, separating the actual doc producing commands into a separate doc/Makefile.in and adding -I @srcdir@ to the commands (so that they find the non-generated inputs) works.  Should be fixed now.

Bernd Paysan <paysan>
Group administrator
Sat 19 Dec 2015 06:00:51 PM UTC, original submission:  

Trying to build all the doc/* files from the top-level makefile, using rules like

doc/filename: doc/source
    cd doc ; { do something }

is quite completely incompatible with out-of-tree builds.  None of the dependencies will be found, nor will the commands themselves actually find their inputs.  And because of the 'cd', autoconf's $(srcdir) or $(top_srcdir) wouldn't help, either, even if they were applied.

There really should be a separate doc/Makefile.in, I think.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by paysan (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-19 paysan StatusNone Fixed
        Assigned toNone paysan
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code