Skip to content

Commit

Permalink
feat(build): Allow builds --enable-developer to run remotely from sou…
Browse files Browse the repository at this point in the history
…rce directory
  • Loading branch information
alerque committed Oct 2, 2023
1 parent 51cb99c commit de47b88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ AM_COND_IF([DEPENDENCY_CHECKS], [
])
])

# Avoid the need for configuring with the `--datarootdir=$(cd ..; pwd)` hack to
# run from the source directory when developer mode is enabled.
AM_COND_IF([DEVELOPER], [
datarootdir="$(cd ..; pwd)"
])

AC_DEFUN([AX_SCRIPT], [AC_CONFIG_FILES([scripts/$1], [chmod +x scripts/$1])])

AC_CONFIG_FILES([Makefile])
Expand Down

0 comments on commit de47b88

Please sign in to comment.