Skip to content

Commit

Permalink
Address the CTAN issues #816
Browse files Browse the repository at this point in the history
Copyrights were updated automatically by querying the last time the file
was touched in the Git repo and replacing the notice accordingly.

for file in $(git ls-files); do
    year="$(git log -1 --pretty="format:%cI" -- "${file}" | cut -d'-' -f 1)"
    sed -i "s/^% Copyright\(.*\)20[0-9][0-9]/% Copyright\1${year}/" "${file}"
done
  • Loading branch information
hmenke committed Jan 19, 2020
1 parent 4e1529b commit 03aa54d
Show file tree
Hide file tree
Showing 426 changed files with 466 additions and 465 deletions.
10 changes: 5 additions & 5 deletions build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ local function generate_FILES()
return files
end

local function generate_TDSzip()
local function generate_TDSzip(filename)
local files = generate_FILES()

-- write FILES
Expand All @@ -293,16 +293,16 @@ local function generate_TDSzip()
end

-- zip it all up
local zipfile = "pgf_" .. git.tag .. ".tds.zip"
local zipfile = filename or ("pgf_" .. git.tag .. ".tds.zip")
local filelist = table.concat(files, " ")
os.execute(table.concat({"zip", zipfile, filelist}, " "))

return zipfile
end

local function generate_CTANzip()
local function generate_CTANzip(filename)
local files = generate_FILES()
local tds = generate_TDSzip()
local tds = generate_TDSzip("pgf.tds.zip")

local tmproot = tmpdir()
local tmppgf = tmproot .. "pgf/"
Expand Down Expand Up @@ -362,7 +362,7 @@ local function generate_CTANzip()
lfs.copy(tds, tmproot .. tds)

-- Pack zipfile
local ctanzip = "pgf_" .. git.tag .. ".ctan.flatdir.zip"
local ctanzip = filename or ("pgf_" .. git.tag .. ".ctan.flatdir.zip")
local cwd = lfs.currentdir()
lfs.chdir(tmproot)
os.execute(table.concat({"zip -r", cwd .. "/" .. ctanzip, "."}, " "))
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/macros/pgfmanual-en-macros.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-actions.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-animations.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2015 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-arrows.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2013 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-decorations.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Till Tantau and Mark Wibrow
% Copyright 2019 by Till Tantau and Mark Wibrow
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-design.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-external.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2007 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-images.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Christian Feuersaenger
% Copyright 2018 by Christian Feuersaenger
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-layers.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-matrices.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-nodes.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-paths.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-points.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-quick.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-scopes.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-shadings.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-base-transparency.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
4 changes: 2 additions & 2 deletions doc/generic/pgf/text-en/pgfmanual-en-drivers.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down Expand Up @@ -44,7 +44,7 @@ \subsubsection{Using the \LaTeX\ Format}
file |latex/pgf/frontends/tikz.sty|:
%
\begin{codeexample}[code only]
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-axes.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2010 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-backend.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-examples.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-formats.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-introduction.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-main.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2008 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-polar.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2010 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-stylesheets.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2010 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-dv-visualizers.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2010 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
6 changes: 3 additions & 3 deletions doc/generic/pgf/text-en/pgfmanual-en-gd-algorithm-layer.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Copyright 2010 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
% Copyright 2011 by Till Tantau
% Copyright 2011 by Jannis Pohlmann
% Copyright 2019 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
% Copyright 2019 by Till Tantau
% Copyright 2019 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2012 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
14 changes: 7 additions & 7 deletions doc/generic/pgf/text-en/pgfmanual-en-gd-binding-layer.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
% Copyright 2010-2011 by Renée Ahrens
% Copyright 2010-2011 by Olof Frahm
% Copyright 2010-2011 by Jens Kluttig
% Copyright 2010-2011 by Matthias Schulz
% Copyright 2010-2011 by Stephan Schuster
% Copyright 2011 by Jannis Pohlmann
% Copyright 2011 by Till Tantau
% Copyright 2010-2019 by Renée Ahrens
% Copyright 2010-2019 by Olof Frahm
% Copyright 2010-2019 by Jens Kluttig
% Copyright 2010-2019 by Matthias Schulz
% Copyright 2010-2019 by Stephan Schuster
% Copyright 2019 by Jannis Pohlmann
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-circular.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2011 by Jannis Pohlmann
% Copyright 2018 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
14 changes: 7 additions & 7 deletions doc/generic/pgf/text-en/pgfmanual-en-gd-display-layer.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
% Copyright 2010-2011 by Renée Ahrens
% Copyright 2010-2011 by Olof Frahm
% Copyright 2010-2011 by Jens Kluttig
% Copyright 2010-2011 by Matthias Schulz
% Copyright 2010-2011 by Stephan Schuster
% Copyright 2011 by Jannis Pohlmann
% Copyright 2011 by Till Tantau
% Copyright 2010-2018 by Renée Ahrens
% Copyright 2010-2018 by Olof Frahm
% Copyright 2010-2018 by Jens Kluttig
% Copyright 2010-2018 by Matthias Schulz
% Copyright 2010-2018 by Stephan Schuster
% Copyright 2018 by Jannis Pohlmann
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-edge-routing.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2011 by Jannis Pohlmann
% Copyright 2018 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-examples.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2011 by Jannis Pohlmann
% Copyright 2012 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-force.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2011 by Jannis Pohlmann
% Copyright 2018 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-layered.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2012 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-misc.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2011 by Jannis Pohlmann
% Copyright 2012 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-ogdf.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2012 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
6 changes: 3 additions & 3 deletions doc/generic/pgf/text-en/pgfmanual-en-gd-overview.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Copyright 2010 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
% Copyright 2011 by Till Tantau
% Copyright 2011 by Jannis Pohlmann
% Copyright 2019 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
% Copyright 2019 by Till Tantau
% Copyright 2019 by Jannis Pohlmann
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-phylogenetics.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2013 by Sarah Mäusle and Till Tantau
% Copyright 2018 by Sarah Mäusle and Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-trees.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2012 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
14 changes: 7 additions & 7 deletions doc/generic/pgf/text-en/pgfmanual-en-gd-usage-pgf.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
% Copyright 2010-2011 by Renée Ahrens
% Copyright 2010-2011 by Olof Frahm
% Copyright 2010-2011 by Jens Kluttig
% Copyright 2010-2011 by Matthias Schulz
% Copyright 2010-2011 by Stephan Schuster
% Copyright 2011 by Jannis Pohlmann
% Copyright 2011 by Till Tantau
% Copyright 2010-2019 by Renée Ahrens
% Copyright 2010-2019 by Olof Frahm
% Copyright 2010-2019 by Jens Kluttig
% Copyright 2010-2019 by Matthias Schulz
% Copyright 2010-2019 by Stephan Schuster
% Copyright 2019 by Jannis Pohlmann
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-gd-usage-tikz.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2012 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-guidelines.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-installation.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-introduction.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright 2006 by Till Tantau
% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
Expand Down
Loading

0 comments on commit 03aa54d

Please sign in to comment.