<div dir="ltr"><div><div><div><div>Dear all, at that time (around 8 years ago) it was the only way I found (by trial and error) to make the automatic download, configure (passing all compilers and libs found by QE configure) and compile just by typing "make yambo" (or "make want") after configuring QE. It is not based on any particular argument, it was just working for this two packages in all arch that I tested. For other occurencies of touch-dummy, I do not know. <br><br></div>Anyhow, any better idea that make all simpler would be great. Thank you, Aaron for your contribution.<br><br></div>Layla (marsamos)<br><br></div>cheers<br><br></div>Layla<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-15 16:58 GMT+02:00 A L <span dir="ltr"><<a href="mailto:m.tesseracted@gmail.com" target="_blank">m.tesseracted@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Paolo,<div><br><div>The touch-dummy is a way to force re-execution of a target even if there's been no changes to the source/compiled code. Looking at the git history this was originally only used for plugins yambo and want: </div><div><a href="https://gitlab.com/QEF/q-e/blob/91ee86cef9fcde9c77d582a96c1eb3f1502e9099/Makefile#L175" target="_blank">https://gitlab.com/QEF/q-e/<wbr>blob/<wbr>91ee86cef9fcde9c77d582a96c1eb3<wbr>f1502e9099/Makefile#L175</a><br></div><div>I assume so that it would force make to re-download the plugin. GNU Make actually has a method to do this natively by adding your desired targets as a dependency to a .PHONY target. </div><div><a href="https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html" target="_blank">https://www.gnu.org/software/<wbr>make/manual/html_node/Phony-<wbr>Targets.html</a><br></div><div>This makes it a little cleaner since you don't have to add touch-dummy as a dependency to all desired targets, but it's not as clear because then you have to go look at .PHONY to see if it's a forced target. Also I don't know if this was done for compatibility reasons with certain make systems. The author of the original add used the userid marsamos if you want to contact them to find out. Here's the relevant commit: </div><div><a href="https://gitlab.com/QEF/q-e/commit/91ee86cef9fcde9c77d582a96c1eb3f1502e9099" target="_blank">https://gitlab.com/QEF/q-e/<wbr>commit/<wbr>91ee86cef9fcde9c77d582a96c1eb3<wbr>f1502e9099</a><br></div><div><br></div><div>Cheers,</div><div>Aaron Mahler</div><div>Duke University</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 14, 2018 at 6:00 AM,  <span dir="ltr"><<a href="mailto:developers-request@lists.quantum-espresso.org" target="_blank">developers-request@lists.<wbr>quantum-espresso.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send developers mailing list submissions to<br>
        <a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espre<wbr>sso.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-espresso<wbr>.org/mailman/listinfo/develope<wbr>rs</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:developers-request@lists.quantum-espresso.org" target="_blank">developers-request@lists.quant<wbr>um-espresso.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:developers-owner@lists.quantum-espresso.org" target="_blank">developers-owner@lists.quantum<wbr>-espresso.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of developers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. touch-dummy (Paolo Giannozzi)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Sun, 13 May 2018 21:52:03 +0200<br>
From: Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>><br>
To: General discussion list for Quantum ESPRESSO developers<br>
        <<a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espr<wbr>esso.org</a>><br>
Subject: [QE-developers] touch-dummy<br>
Message-ID:<br>
        <CAPMgbCsqu42=<a href="mailto:Ue5-2QD%2B4B46hfv8ycp7u3NGA2WqT4yLKtEwzA@mail.gmail.com" target="_blank">Ue5-2QD+4B46hfv8<wbr>ycp7u3NGA2WqT4yLKtEwzA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Does anybody know the reason for the presence of the "touch-dummy" target<br>
in Makefile?<br>
<br>
Paolo<br>
<br>
-- <br>
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
Phone +39-0432-558216, fax +39-0432-558222<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.quantum-espresso.org/pipermail/developers/attachments/20180513/f7ffbf52/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.quantum-espresso<wbr>.org/pipermail/developers/<wbr>attachments/20180513/f7ffbf52/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
developers mailing list<br>
<a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espre<wbr>sso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-espresso<wbr>.org/mailman/listinfo/develope<wbr>rs</a><br>
<br>
<br>
------------------------------<br>
<br>
End of developers Digest, Vol 97, Issue 11<br>
******************************<wbr>************<br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
developers mailing list<br>
<a href="mailto:developers@lists.quantum-espresso.org">developers@lists.quantum-<wbr>espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-<wbr>espresso.org/mailman/listinfo/<wbr>developers</a><br>
<br></blockquote></div><br></div>