diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2026-01-01 14:24:38 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2026-01-01 14:24:38 -0500 |
| commit | 4733b42cd4013f679c7bcf0097a8a06f2a91d419 (patch) | |
| tree | 2c9c29b4ceff7f38f4b5dfe2dacd977f909d2012 | |
| parent | b7ab1953034061d97d527a9bd7561e900d73590d (diff) | |
Remove debugedit stuff
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | src/tomo.c | 10 |
2 files changed, 2 insertions, 16 deletions
@@ -229,11 +229,7 @@ deps: build/gc/lib/libgc.a build/unistring/lib/libgc.a build/gmp/lib/libgmp.a build/gc/lib/libgc.a build/unistring/lib/libgc.a build/gmp/lib/libgmp.a: $(MAKE) -C vendor -check-utilities: check-c-compiler - @which debugedit 2>/dev/null >/dev/null \ - || printf '\033[33;1m%s\033[m\n' "I couldn't find 'debugedit' on your system! Try installing the package 'debugedit' with your package manager. (It's not required though)" - -install-files: build check-utilities +install-files: build check-c-compiler @if ! echo "$$PATH" | tr ':' '\n' | grep -qx "$(PREFIX)/bin"; then \ echo $$PATH; \ printf "\033[31;1mError: '$(PREFIX)/bin' is not in your \$$PATH variable!\033[m\n" >&2; \ @@ -261,4 +257,4 @@ uninstall: endif .SUFFIXES: -.PHONY: all build clean install install-files uninstall test tags core-libs examples deps check-utilities check-c-compiler version +.PHONY: all build clean install install-files uninstall test tags core-libs examples deps check-c-compiler version @@ -526,16 +526,6 @@ void install_library(Path_t lib_dir) { xsystem(as_owner, "cp -r '", lib_dir, "'/* '", dest, "/'"); xsystem(as_owner, "cp -r '", lib_dir, "'/.build '", dest, "/'"); } - // If we have `debugedit` on this system, use it to remap the debugging source information - // to point to the installed version of the source file. Otherwise, fail silently. - if (verbose) whisper("Updating debug symbols for ", dest, "/lib", lib_name, ".a"); - int result = system(String(as_owner, "debugedit -b ", lib_dir, " -d '", dest, - "'" - " '", - dest, "/lib", lib_name, ".a", - "' " - ">/dev/null 2>/dev/null")); - (void)result; print("Installed \033[1m", lib_dir, "\033[m to ", TOMO_PATH, "/lib/tomo@", TOMO_VERSION, "/", lib_name); } |
