From 7c4b40de6195165367b733afda76e4944392f1f7 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 23 Oct 2018 20:10:54 +0200 Subject: [PATCH] build: remove a few copies of the Copyright from the generated Makefile * build-aux/local.mk, cfg.mk, examples/calc++/local.mk, * examples/local.mk, examples/mfcalc/local.mk, * examples/rpcalc/local.mk, lib/local.mk, src/local.mk, * tests/local.mk: Use Automake comments so that we don't get a copy of each in the generated Makefile. --- build-aux/local.mk | 28 ++++++++++++++-------------- cfg.mk | 24 ++++++++++++------------ examples/calc++/local.mk | 30 +++++++++++++++--------------- examples/local.mk | 28 ++++++++++++++-------------- examples/mfcalc/local.mk | 30 +++++++++++++++--------------- examples/rpcalc/local.mk | 30 +++++++++++++++--------------- lib/local.mk | 28 ++++++++++++++-------------- src/local.mk | 28 ++++++++++++++-------------- tests/local.mk | 28 ++++++++++++++-------------- 9 files changed, 127 insertions(+), 127 deletions(-) diff --git a/build-aux/local.mk b/build-aux/local.mk index 70a900ff..b7c600f6 100644 --- a/build-aux/local.mk +++ b/build-aux/local.mk @@ -1,17 +1,17 @@ -# Copyright (C) 2000-2015, 2018 Free Software Foundation, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2000-2015, 2018 Free Software Foundation, Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . EXTRA_DIST += \ build-aux/Darwin.valgrind \ diff --git a/cfg.mk b/cfg.mk index c008638b..8fcea629 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1,18 +1,18 @@ -# Customize maint.mk -*- makefile -*- -# Copyright (C) 2008-2015, 2018 Free Software Foundation, Inc. +## Customize maint.mk -*- makefile -*- +## Copyright (C) 2008-2015, 2018 Free Software Foundation, Inc. -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . # Update version, then recompile so that tests/bison --version be # up-to-date, then compile our parser again with our up-to-date bison. diff --git a/examples/calc++/local.mk b/examples/calc++/local.mk index add46ac1..e0458dba 100644 --- a/examples/calc++/local.mk +++ b/examples/calc++/local.mk @@ -1,18 +1,18 @@ -# Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, -# Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, +## Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . ## ------------------- ## ## Parser generation. ## diff --git a/examples/local.mk b/examples/local.mk index cd35e838..2e653363 100644 --- a/examples/local.mk +++ b/examples/local.mk @@ -1,17 +1,17 @@ -# Copyright (C) 2005, 2008-2015, 2018 Free Software Foundation, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2005, 2008-2015, 2018 Free Software Foundation, Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . dist_noinst_SCRIPTS = %D%/extexi %D%/test TEST_LOG_COMPILER = $(top_srcdir)/%D%/test diff --git a/examples/mfcalc/local.mk b/examples/mfcalc/local.mk index 1a0989a8..192214bf 100644 --- a/examples/mfcalc/local.mk +++ b/examples/mfcalc/local.mk @@ -1,18 +1,18 @@ -# Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, -# Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, +## Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . ## -------------------- ## ## Building & testing. ## diff --git a/examples/rpcalc/local.mk b/examples/rpcalc/local.mk index 4fac1aeb..c6631508 100644 --- a/examples/rpcalc/local.mk +++ b/examples/rpcalc/local.mk @@ -1,18 +1,18 @@ -# Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, -# Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2005-2006, 2008-2015, 2018 Free Software Foundation, +## Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . ## -------------------- ## ## Building & testing. ## diff --git a/lib/local.mk b/lib/local.mk index 977afb57..971c72de 100644 --- a/lib/local.mk +++ b/lib/local.mk @@ -1,17 +1,17 @@ -# Copyright (C) 2001-2015, 2018 Free Software Foundation, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2001-2015, 2018 Free Software Foundation, Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . include lib/gnulib.mk diff --git a/src/local.mk b/src/local.mk index a41a5f39..0651aac1 100644 --- a/src/local.mk +++ b/src/local.mk @@ -1,17 +1,17 @@ -# Copyright (C) 2001-2015, 2018 Free Software Foundation, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2001-2015, 2018 Free Software Foundation, Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . bin_PROGRAMS = src/bison # Prettify Automake-computed names of compiled objects. diff --git a/tests/local.mk b/tests/local.mk index 29106220..e2245dab 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -1,19 +1,19 @@ ## Makefile for Bison testsuite. -# Copyright (C) 2000-2015, 2018 Free Software Foundation, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +## Copyright (C) 2000-2015, 2018 Free Software Foundation, Inc. +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . EXTRA_DIST += $(TESTSUITE_AT) %D%/testsuite %D%/testsuite.h