summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/support/latex-make/texdepends.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/support/latex-make/texdepends.dtx')
-rw-r--r--Master/texmf-dist/source/support/latex-make/texdepends.dtx23
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/support/latex-make/texdepends.dtx b/Master/texmf-dist/source/support/latex-make/texdepends.dtx
index 8f5447ff503..252d4230117 100644
--- a/Master/texmf-dist/source/support/latex-make/texdepends.dtx
+++ b/Master/texmf-dist/source/support/latex-make/texdepends.dtx
@@ -27,7 +27,7 @@
%<package>\ProvidesPackage{texdepends}%
% \fi
% \ProvidesFile{texdepends.dtx}
-[2018/09/04 v2.2.5 No changes in texdepends.dtx]
+[2018/09/04 v2.3.0 ignore comment.cut file from the comment package]
% \iffalse
%<*driver>
\documentclass{ltxdoc}
@@ -100,7 +100,7 @@
% This package allows \LaTeX\space to automatically generate
% dependencies while compiling documents.
% \end{abstract}
-% \CheckSum{785}
+% \CheckSum{793}
%
% \changes{v1.0.1}{2005/03/22}{Version 1.0.1 at last}
% \changes{v1.0.2}{2005/10/22}{Add support for package index.sty}
@@ -109,6 +109,7 @@
% \changes{v1.2.0}{2008/01/28}{Better management of subfig files}
% \changes{v1.3.0}{2011/09/25}{Management of svg files}
% \changes{v2.2.5}{2018/09/04}{No changes in texdepends.dtx}
+% \changes{v2.3.0}{2018/10/17}{ignore comment.cut file from the comment package}
%
% \makeatletter
% \def\SpecialOptionIndex#1{\@bsphack
@@ -344,6 +345,14 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\TD@printFig}
+% We want to ignore a dependency
+% \begin{macrocode}
+\def\TD@printNoDependsFile#1{%
+ \TD@print{TD_\jobname\TD@extention _DEPENDS_EXCLUDE\space += #1}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\TD@printFig}
% We need an |XFig| file
% \begin{macrocode}
\def\TD@printFig#1{%
@@ -1007,7 +1016,7 @@
% \end{macrocode}
% \subsubsection{Package bibtopic}
% \begin{macrocode}
-% Pour le package bibtopic
+% For the bibtopic package
\def\TD@btSect{%
\@ifnextchar[{\TD@btSect@opt}{\TD@btSect@noopt}}
\def\TD@btSect@opt[#1]#2{%
@@ -1031,6 +1040,14 @@
\TD@docswitch{btSect}%
}%
% \end{macrocode}
+% \subsubsection{Package comment}
+% \begin{macrocode}
+% For the comment package, the |comment.cut| file must not be used as
+% a dependency: it is read and written several times during a compilation.
+\TD@PackagePostDivert{comment}{%
+ \TD@printNoDependsFile{comment.cut}%
+}%
+% \end{macrocode}
% \begin{macrocode}
%</package>
% \end{macrocode}