Skip to content

Commit

Permalink
Merge pull request #1351 from henryso/fix-1292
Browse files Browse the repository at this point in the history
Changed --enable-texlive to --disable-version-in-exe per Élie Roux.
  • Loading branch information
rpspringuel authored Apr 15, 2017
2 parents 229aac3 + e0367c5 commit be9b874
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 be9b874

Please sign in to comment.