Don't version the executable on Linux

Release branches will continue to use versioned file names, but that
doesn't really make much sense for builds from master.
This commit is contained in:
Thomas Goyne 2014-07-17 08:02:11 -07:00
parent d61a9664c6
commit e675cf10da
1 changed files with 3 additions and 8 deletions

View File

@ -47,18 +47,13 @@ AC_SUBST(build_darwin)
# Configurable variables # Configurable variables
######################## ########################
# Name of aegisub binary. # Name of aegisub binary.
# On OS X everything goes in an app bundle so no point in versioning the executable # This is tagged with the version on release branches.
AS_IF([test x$build_darwin = xyes], AEGISUB_COMMAND="aegisub"
[AEGISUB_COMMAND="aegisub"],
[AEGISUB_COMMAND="aegisub-3.1"])
AC_SUBST(AEGISUB_COMMAND) AC_SUBST(AEGISUB_COMMAND)
AC_DEFINE_UNQUOTED([AEGISUB_COMMAND], ["${AEGISUB_COMMAND}"], [Name of the Aegisub executable]) AC_DEFINE_UNQUOTED([AEGISUB_COMMAND], ["${AEGISUB_COMMAND}"], [Name of the Aegisub executable])
# Name of gettext catalog. # Name of gettext catalog.
# On OS X everything goes in an app bundle so no point in versioning the executable AEGISUB_CATALOG="aegisub"
AS_IF([test x$build_darwin = xyes],
[AEGISUB_CATALOG="aegisub"],
[AEGISUB_CATALOG="aegisub-31"])
AC_SUBST(AEGISUB_CATALOG) AC_SUBST(AEGISUB_CATALOG)
AC_DEFINE_UNQUOTED([AEGISUB_CATALOG], ["${AEGISUB_CATALOG}"], [Name of the Aegisub gettext catalog]) AC_DEFINE_UNQUOTED([AEGISUB_CATALOG], ["${AEGISUB_CATALOG}"], [Name of the Aegisub gettext catalog])