summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-09-08 15:37:03 -0400
committerpommicket <pommicket@gmail.com>2024-09-08 15:37:03 -0400
commitfd1e2b3d3ccd26fb5bd9d7cbced04f673cfd19ba (patch)
treea045f5d5f44c63a603e4c56f53d5f986c3973488 /README.md
parentc4ab62a68f81fda1365bab9e5200f27a6a986bae (diff)
Customizable data directories
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 06422a9..68cac35 100644
--- a/README.md
+++ b/README.md
@@ -292,6 +292,14 @@ sudo apt install clang libsdl2-dev cmake imagemagick
Then run `make -j8 release` to build or `sudo make install -j8` to build and install.
You can also run `make -j8 ted.deb` to build the .deb installer.
+This installs ted for all users. If you just want to install it for yourself (or you don't have superuser access), you can do so
+with
+
+```bash
+mkdir -p ~/.local/bin ~/.local/share
+GLOBAL_DATA_DIR='~/.local/share/ted-data' LOCAL_DATA_DIR='~/.local/share/ted' INSTALL_BIN_DIR='~/.local/bin' make install -j8
+```
+
On Windows, install Microsoft Visual Studio 2022, then find and add vcvarsall.bat to your PATH
(most likely lives at `C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build`).
Also, install the [Visual Studio Installer Projects extension](https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects)