<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">https://gitlab.com/QEF/q-e/blob/91ee86cef9fcde9c77d582a96c1eb3f1502e9099/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">https://www.gnu.org/software/make/manual/html_node/Phony-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">https://gitlab.com/QEF/q-e/commit/91ee86cef9fcde9c77d582a96c1eb3f1502e9099</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.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">developers@lists.quantum-<wbr>espresso.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-<wbr>espresso.org/mailman/listinfo/<wbr>developers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:developers-request@lists.quantum-espresso.org">developers-request@lists.<wbr>quantum-espresso.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:developers-owner@lists.quantum-espresso.org">developers-owner@lists.<wbr>quantum-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">p.giannozzi@gmail.com</a>><br>
To: General discussion list for Quantum ESPRESSO developers<br>
<<a href="mailto:developers@lists.quantum-espresso.org">developers@lists.quantum-<wbr>espresso.org</a>><br>
Subject: [QE-developers] touch-dummy<br>
Message-ID:<br>
<CAPMgbCsqu42=<a href="mailto:Ue5-2QD%2B4B46hfv8ycp7u3NGA2WqT4yLKtEwzA@mail.gmail.com">Ue5-2QD+<wbr>4B46hfv8ycp7u3NGA2WqT4yLKtEwzA<wbr>@mail.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-<wbr>espresso.org/pipermail/<wbr>developers/attachments/<wbr>20180513/f7ffbf52/attachment-<wbr>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">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>
<br>
------------------------------<br>
<br>
End of developers Digest, Vol 97, Issue 11<br>
******************************<wbr>************<br>
</blockquote></div><br></div>