On 21/04/2023 00:39, ycproject wrote:
Thanks for your reply.
I just did a test:

1. I used the commands cp -a and cp -r respectively, and the result was that when I ran make html, both regenerated all the html.

2. I created a new empty directory (newproject) and copied the _build directory from the original project directory to the new directory (newproject) first; after three minutes, I copied all the directories except the _build directory from the original project directory to the new directory (newproject). After that, I ran make html in the new directory (newproject) and it still regenerated all the html.

3. I am not quite sure what kind of touchwg command should be used to do this.

But if you run make a second time? It shouldn't then remake everything again.

If that's the case, you'll just have to accept that copying the Sphinx directory will trigger a complete rebuild the first time you run make.

It's a pain, but not the end of the world, until you find out why make thinks the source files are newer than the target.

But at the end of the day, it's nothing to do with Sphinx.

Cheers,
Wol

--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/41f9b3c1-d171-765d-d00c-0c339a0097a9%40youngman.org.uk.

Reply via email to