X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fautomake.mk;h=b68fce0d5227797084a24a420a917e6fc5b4b8cc;hb=2b29048db81c4a1d1808d857f58aa5245452a559;hp=fc9aba15dacd7c807e089f550bab4b65a7ea286e;hpb=9bf0d33865adacfbe633f9e2e6f206d1715b8e60;p=pspp diff --git a/src/libpspp/automake.mk b/src/libpspp/automake.mk index fc9aba15da..b68fce0d52 100644 --- a/src/libpspp/automake.mk +++ b/src/libpspp/automake.mk @@ -1,3 +1,19 @@ +# PSPP - a program for statistical analysis. +# Copyright (C) 2017 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 . +# ## Process this file with automake to produce Makefile.in -*- makefile -*- @@ -123,8 +139,8 @@ src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile $(AM_V_at)echo "const char bare_version[] = \"$(VERSION)\";" >> $@,tmp $(AM_V_at)echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@,tmp $(AM_V_at)printf "const char announced_version[] = \"GNU $(PACKAGE) $(VERSION)\"" >> $@,tmp - @case `$(AM_V_at)echo $(VERSION) | $(AM_V_at)$(SED) -e 's/[0-9][0-9]*\.[0-9]*\([0-9]\)\.[0-9][0-9]*/\1/'` in \ - [13579]) $(AM_V_at)printf "\"\\\nThis is an unreleased test version. It is not recommended for production use. Use at your own risk\"" >> $@,tmp \ + @case `echo $(VERSION) | $(SED) -e 's/[0-9][0-9]*\.[0-9]*\([0-9]\)\.[0-9][0-9]*/\1/'` in \ + [13579]) printf "\"\\\nThis is an unreleased test version. It is not recommended for production use. Use at your own risk\"" >> $@,tmp \ ;;\ esac $(AM_V_at)printf ";\n" >> $@,tmp