From d59831d74e2c8a67cbee03f2630bac1753635a93 Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Sun, 1 Sep 2024 16:51:48 +0200 Subject: Include GPL version 3 license and copyright notices --- generate_version_h.sh | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'generate_version_h.sh') diff --git a/generate_version_h.sh b/generate_version_h.sh index 84166ee..edcc782 100755 --- a/generate_version_h.sh +++ b/generate_version_h.sh @@ -1,5 +1,22 @@ #!/bin/bash - +# +# This file is part of cputemp2maxfreq. +# +# Copyright (C) 2023, 2024 pa4wdh +# +# cputemp2maxfreq 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. +# +# cputemp2maxfreq 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 cputemp2maxfreq. If not, see . +# if [ -d ".git" ] then # If we have a git directory use that as an information source @@ -19,6 +36,13 @@ else BRANCH="Unknown" fi +# Generate a GPL license header +head -n 17 cputemp2maxfreq.c +echo "" +echo " This file is generated by $0," +echo " do not edit." +echo "*/" + echo "#ifndef HAVE_VERSION_H" echo "#define HAVE_VERSION_H" echo "" -- cgit v1.2.3