[PATCH perfbook] bib: make ref to git archive explicit

[email protected]
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
From: 周洲仪 <[email protected]>

According to our Chinese version editor Yunjing Li's advice,
 make reference to perfbook's git archive explicit.
 
Signed-off-by: Zhouyi Zhou<[email protected]>
---
 bib/syncrefs.bib | 8 ++++++++
 howto/howto.tex  | 2 +-
 legal.tex        | 5 ++---
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/bib/syncrefs.bib b/bib/syncrefs.bib
index 6ee50e3b..4f347488 100644
--- a/bib/syncrefs.bib
+++ b/bib/syncrefs.bib
@@ -2025,3 +2025,11 @@ Parallel Server on UNIX",
  Month="September",
  Note="Linux Plumbers Conference \url{https://lpc.events/event/16/contributions/1226/}",
 }
+
+@unpublished{PaulmckPerfbookGit,
+ author="Paul E. McKenney",
+ title="Is Parallel Programming Hard, And, If So, What Can You Do About It? Git Archive",
+ year="2023",
+ note={\url{git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git}},
+ lastchecked="December 27, 2023",
+}
\ No newline at end of file
diff --git a/howto/howto.tex b/howto/howto.tex
index 55270cba..e7cd5f3c 100644
--- a/howto/howto.tex
+++ b/howto/howto.tex
@@ -226,7 +226,7 @@ Here are a few possible strategies:
 	only a blank sheet of paper.
 \item	If you find the Quick Quizzes distracting but impossible
 	to ignore, you can always clone the \LaTeX{} source for
-	this book from the git archive.
+	this book from the git archive~\cite{PaulmckPerfbookGit}.
 	You can then run the command \co{make nq}, which will
 	produce a \co{perfbook-nq.pdf}.
 	This PDF contains unobtrusive boxed tags where the Quick Quizzes
diff --git a/legal.tex b/legal.tex
index f443df37..ca21ecaf 100644
--- a/legal.tex
+++ b/legal.tex
@@ -42,12 +42,11 @@ Source code is covered by various versions of the GPL\@.\footnote{
 Some of this code is GPLv2-only, as it derives from the Linux kernel,
 while other code is GPLv2-or-later.
 See the comment headers of the individual source files within the
-CodeSamples directory in the git archive\footnote{
-	\url{git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git}}
+CodeSamples directory in the git archive~\cite{PaulmckPerfbookGit}
 for the exact licenses.
 If you are unsure of the license for a given code fragment,
 you should assume GPLv2-only.
 
 Combined work {\textcopyright}~2005--\commityear\ by Paul E. McKenney.
 Each individual contribution is copyright by its contributor at the time
-of contribution, as recorded in the git archive.
+of contribution, as recorded in the git archive~\cite{PaulmckPerfbookGit}.
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.