diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-31 08:28:10 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-31 09:32:42 +0200 |
| commit | da4e2efb9249cb8cd1e382a7653da0140bb1c95d (patch) | |
| tree | e1a3af0838317dca1de73d2d069d8d6e4bbac5fe /GNUmakefile | |
| parent | 12f50c8b515642d2510364115778ef90a26ebcb7 (diff) | |
| download | vis-da4e2efb9249cb8cd1e382a7653da0140bb1c95d.tar.gz vis-da4e2efb9249cb8cd1e382a7653da0140bb1c95d.tar.xz | |
Use a minimal POSIX shar implementation for self extracting executable
This only requires POSIX shell utilies for extraction. The resulting
archive is bigger (it is not gzip compressed) and startup will be slower
due to many spawned processes.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index c19a64c..16635c0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -256,10 +256,9 @@ standalone: clean PATH=$(DEPS_BIN):$$PATH $(MAKE) single: standalone - cp vis-single.sh vis-single for e in $(ELF); do \ ${STRIP} "$$e"; \ done - tar c $(EXECUTABLES) lua/ | gzip -9 >> vis-single + ./shar.sh vis-single $(EXECUTABLES) $$(find lua -name '*.lua') .PHONY: standalone local dependencies-common dependencies-local dependencies-clean |
