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

 
 

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

Submitted by:  None
Submitted on:  Sat 19 Dec 2015 06:00:51 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bernd Paysan <paysan>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Dec 2015 09:15:00 PM UTCpaysanStatusNone=>Fixed
      Assigned toNone=>paysan
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1