]> Sergey Matveev's repositories - public-inbox.git/commitdiff
doc: don't barf on missing `git set-file-times'
authorEric Wong <e@80x24.org>
Fri, 24 May 2019 02:57:54 +0000 (02:57 +0000)
committerEric Wong <e@80x24.org>
Fri, 24 May 2019 02:58:48 +0000 (02:58 +0000)
It's not critical, but it's nice to have for cache-friendliness
(otherwise I would not have written it :P)

I guess I should follow up on getting it into 'git contrib/':
https://public-inbox.org/git/20100702033709.GA6818@burratino/

Documentation/include.mk

index 27d6ea6e41cc06dd9c4944e2b344a49fd49dfebc..5c5b473cb9ddf08ceb4a6e24d21564fedc5c3558 100644 (file)
@@ -115,7 +115,9 @@ doc: $(docs)
 
 gz-doc: $(gz_docs)
 rsync-doc:
-       git set-file-times $(docs) $(txt)
+       # /usr/share/doc/rsync/scripts/git-set-file-times{.gz} on Debian systems
+       # It is also at: https://yhbt.net/git-set-file-times
+       -git set-file-times $(docs) $(txt)
        $(MAKE) gz-doc
        $(RSYNC) --chmod=Fugo=r -av $(rsync_docs) $(RSYNC_DEST)
 clean-doc: