switched to git version rather than subversion

This commit is contained in:
EReckase 2015-04-12 09:19:17 -06:00
parent facfbd6292
commit d52cd965e7
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = foreign no-dependencies
SVN_DEF = -D'SVN_REV="$(shell svnversion -n .)"'
AM_CFLAGS = -g -O3 -std=gnu99 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(SVN_DEF)
GIT_DEF = -D'GIT_REV="$(shell git describe --tags)"'
AM_CFLAGS = -g -O3 -std=gnu99 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(GIT_DEF)
ACLOCAL_AMFLAGS = -I m4

View File

@ -359,8 +359,8 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign no-dependencies
SVN_DEF = -D'SVN_REV="$(shell svnversion -n .)"'
AM_CFLAGS = -g -O3 -std=gnu99 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(SVN_DEF)
GIT_DEF = -D'GIT_REV="$(shell git describe --tags)"'
AM_CFLAGS = -g -O3 -std=gnu99 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(GIT_DEF)
ACLOCAL_AMFLAGS = -I m4
man1_MANS = flam3-animate.man flam3-genome.man flam3-render.man flam3-convert.man
lib_LTLIBRARIES = libflam3.la

View File

@ -61,8 +61,8 @@
char *flam3_version() {
if (strcmp(SVN_REV, "exported"))
return flam3_os "-" VERSION "." SVN_REV;
if (strcmp(GIT_REV, ""))
return flam3_os "-" VERSION "." GIT_REV;
return flam3_os "-" VERSION;
}