diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-03-21 22:11:39 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-03-21 22:11:39 +0100 |
| commit | 2aca0498abab86611fcb71315ebdf84e85f327ab (patch) | |
| tree | 34e146686bead86b141ea8dca020e762481ecb13 /.local/bin/emacs-build | |
| parent | f2ad41a70dbca6aac73b3d299aea8ef21372ba89 (diff) | |
| download | dotfiles-2aca0498abab86611fcb71315ebdf84e85f327ab.tar.xz | |
Commit a couple of improvements to the Emacs build script
* fix out-of-tree build
* allow tweaking configure options
Diffstat (limited to '.local/bin/emacs-build')
| -rwxr-xr-x | .local/bin/emacs-build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/emacs-build b/.local/bin/emacs-build index c244934..4fd2b2e 100755 --- a/.local/bin/emacs-build +++ b/.local/bin/emacs-build @@ -2,8 +2,8 @@ set -eux -src=${EMACS_SRC:-.} -build=${EMACS_BUILD:-.} +src=$(realpath "${EMACS_SRC:-.}") +build=$(realpath "${EMACS_BUILD:-.}") config_h=${build}/src/config.h make="make -j$(nproc --all)" @@ -35,6 +35,7 @@ configure_flags=( --with-native-compilation=no --with-sqlite3 --with-xinput2 + ${CONFIGURE_EXTRA_FLAGS:-} ) is-rolling-distro () |
