$(AM_V_at)echo "#include \"version.h\"" >> $@,tmp
$(AM_V_at)echo "const char bare_version[] = \"$(VERSION)\";" >> $@,tmp
$(AM_V_at)echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@,tmp
+ $(AM_V_at)echo "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)echo "\"\nThis is an unreleased test version. It is not recommended for production use. Use at your own risk\"" >> $@,tmp \
+ ;;\
+ esac
+ $(AM_V_at)echo ";" >> $@,tmp
$(AM_V_at)echo "const char host_system[] = \"$(host_triplet)\";" >> $@,tmp
$(AM_V_at)echo "const char build_system[] = \"$(build_triplet)\";" >> $@,tmp
$(AM_V_at)echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@,tmp
/* "GNU PSPP A.B.C" */
extern const char version[];
+/* Human readable version string */
+extern const char announced_version[];
+
/* Canonical name of host system type. */
extern const char host_system[];
gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about), PACKAGE_URL);
gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about),
- version);
+ announced_version);
gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about),
(const gchar **) authors);
"it\nunder certain conditions; type \"show copying.\" to see the "
"conditions.\nThere is ABSOLUTELY NO WARRANTY for PSPP; type \"show "
"warranty.\" for details.\n", stdout);
- puts (version);
+ puts (announced_version);
journal_init ();
}