Menu

#133 Don't remake .tex files just to update the .d files

workingwiki
closed
None
5
2013-05-07
2011-10-01
Lee Worden
No

when .tex files are made from other things they get remade when you're trying to do other things, just because the makefile includes the .d and the .d depends on the .tex. It shouldn't remake .tex files unless they're actually needed.

Discussion

  • Lee Worden

    Lee Worden - 2011-10-01

    Possible solutions include

    1. have a separate rule to update .d files, and call it from WW before calling each normal make job.

    2. update the .d file for a given .tex during the process of recompiling the .tex file, and at no other time.

    3. have a separate rule to update .d files, and call it from within the makefile just before remaking a product from a .tex file.

    Number 3 has the advantage over 1 that it doesn't require any added complexity on the WW side, and may have the advantage over 2 in the following scenario:

    i. create a .dmu file that will be used to create a .tex file.

    ii. create a .tex file that includes the above mentioned .tex file, which doesn't exist yet.

    iii. request the .latexml.xhtml output from ii.

    Will it compile the dmu file? Only if the .d file is created and used. Even strategy 3 has to be done carefully to make this work, otherwise it will fail the first time and succeed the second and subsequent times.

     
  • Lee Worden

    Lee Worden - 2012-09-07

    I think this is the same as https://sourceforge.net/p/workingwiki/bugs/48/. Combining.

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.