<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>Le 4 oct. 2014 à 23:28, Lars Madsen <<a href="mailto:daleif@math.au.dk">daleif@math.au.dk</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;">Where exactly is tmp? As I read your file is should be a subdirectory. Does it exist?<span class="Apple-converted-space"> </span><br></span></div></div></blockquote><div><br></div><div><br></div><div>tmp was indeed in the big Makefile the name of a subdirectory which was destined</div><div>to be created</div><div>by rules containing commands like</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">    </span>mkdir -p $(TMPDIR)/doc/generic/xint</div><div><br></div><div>I had at the top</div><div>TMPDIR = tmp (or rather in real it was "tempformake")</div><div><br></div><div>everything worked with no problem, inclusive of the creation of a package.tds.zip</div><div>and package.zip for CTAN, but dvipdfmx compilations ended up with these warnings</div><div><br></div><div>turns out that if I use</div><div><br></div><div>TEMPDIR = whatever</div><div><br></div><div>or</div><div><br></div><div>ONEDIR = whatever</div><div><br></div><div>there is no issue.</div><div><br></div><div>Example of problematic Makefile: (it had nothing to do with using script.sh therein)</div><div><br></div><div><div>TMPDIR = tmp  # JF B big mistake of assigning some value to TMPDIR, which must be a reserved thing</div><div><br></div><div>test: latex dvipdfmx</div><div><br></div><div>latex:</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>latex temp</div><div><br></div><div>dvipdfmx:</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>dvipdfmx temp</div><div><br></div></div><div><br></div><div><br></div></div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;"><br>Would<span class="Apple-converted-space"> </span><br><br>chmod u+X script.sh && ./script.sh<span class="Apple-converted-space"> </span><br><br>Be better, then script is not attempted if chmod fails.<span class="Apple-converted-space"> </span><br></span></div></div></blockquote><div><br></div>thanks for that.  I had && originally but figured that chmod could not fail.</div><div><br></div><div>+X would not work, my file extracted from the dtx has no x bit, I though X would</div><div>only extend an existing x bit.</div><div><br></div><div>Jean-Francois</div><div><br></div><div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt;"><br><span style="">-----Original Message-----<span class="Apple-converted-space"> </span><br><b>From:</b><span class="Apple-converted-space"> </span>jfbu [<a href="mailto:jfbu@free.fr">jfbu@free.fr</a>]<br><b>Received:</b><span class="Apple-converted-space"> </span>lørdag, 04 okt. 2014, 23:12<br><b>To:</b><span class="Apple-converted-space"> </span>Josef Kleber [<a href="mailto:josef.kleber@gmx.de">josef.kleber@gmx.de</a>]<br><b>CC:</b><span class="Apple-converted-space"> </span><a href="mailto:tex-live@tug.org">tex-live@tug.org</a><span class="Apple-converted-space"> </span>[<a href="mailto:tex-live@tug.org">tex-live@tug.org</a>]<br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [tex-live] an issue with running dvipdfmx from a makefile<br><br></span></span></div><font size="2"><span style="font-size: 10pt;"><br>Le 4 oct. 2014 à 23:05, jfbu <<a href="mailto:jfbu@free.fr">jfbu@free.fr</a>> a écrit :<br><br>> TMPDIR = tmp<br>> <br>> test:<br>>        chmod u+x script.sh; ./script.sh<br><br>I picked up the word TMPDIR by sheer bad luck, if I <br>choose anything else like<br><br># contents of makefile<br>ATMPDIR = tmp<br><br>test:<br>        chmod u+x script.sh; ./script.sh<br># end of contents<br><br>there is no issue.<br><br>(here $(ATMPDIR) is never used, but it was needed in the big Makefile)<br><br>Obviously there is something important with TMPDIR and I did not have<br>the right to use it.<br><br>I am sorry about the fuss.<br><br>Best regards<br><br>Jean-Francois</span></font></div></blockquote></div><br></body></html>