summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2025-03-21 22:11:39 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2025-03-21 22:11:39 +0100
commit2aca0498abab86611fcb71315ebdf84e85f327ab (patch)
tree34e146686bead86b141ea8dca020e762481ecb13 /.local/bin
parentf2ad41a70dbca6aac73b3d299aea8ef21372ba89 (diff)
downloaddotfiles-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')
-rwxr-xr-x.local/bin/emacs-build5
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 ()