Skip to content

Commit

Permalink
Merge commit 'be9b8748a8eefdf4215eb3b8574d9275c110f75d' into release-5.0
Browse files Browse the repository at this point in the history
* commit 'be9b8748a8eefdf4215eb3b8574d9275c110f75d':
  Changed --enable-texlive to --disable-version-in-exe per Élie Roux. Part of the implementation for #1292.
  • Loading branch information
rpspringuel committed Apr 15, 2017
2 parents f0b722c + be9b874 commit 13a765d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You need a recent and working [TeXLive](https://www.tug.org/texlive/), on top of

## Building for inclusion in TeXLive

When building gregorio for inclusion in TeXLive, the gregorio executable must not have the version number prefix that is used for other builds. To make this happen, run `configure` with the `--enable-texlive` option and the generated Makefile will create a gregorio executable without the version number prefix (i.e., the executable will simply be named `gregorio`).
When building gregorio for inclusion in TeXLive, the gregorio executable must not have the version number prefix that is used for other builds. To make this happen, run `configure` with the `--disable-version-in-exe` option, and the generated Makefile will create a gregorio executable without the version number prefix (i.e., the executable will simply be named `gregorio`).

## Documentation

Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug@<:@=sanitize,coverage@:>@]
CPPFLAGS+=" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 "
])

AC_ARG_ENABLE([texlive], AS_HELP_STRING([--enable-texlive], [Enable TeX Live executable name.]), [
AC_ARG_ENABLE([version-in-exe], AS_HELP_STRING([--disable-version-in-exe], [Disable version in executable name.]), [
AS_IF([test "x$enableval" != "xno"], [
GREGORIO_EXE_SUFFIX=""
], [
GREGORIO_EXE_SUFFIX="-$FILENAME_VERSION"
], [
GREGORIO_EXE_SUFFIX=""
])
], [
GREGORIO_EXE_SUFFIX="-$FILENAME_VERSION"
Expand Down

0 comments on commit 13a765d

Please sign in to comment.