diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-21 03:13:08 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-21 03:13:08 +0300 |
commit | ca463ce367fd1af686c47742afd6c09256036922 (patch) | |
tree | d6e2cebe15755f16d3390a77ac38aade6234d222 /core/redo/build | |
parent | 374669b4151b53c93193db5dc01f7a72d2fc87b8 (diff) | |
download | repository-ca463ce367fd1af686c47742afd6c09256036922.tar.gz |
redo: add new package at 0.3
Diffstat (limited to 'core/redo/build')
-rwxr-xr-x | core/redo/build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/redo/build b/core/redo/build new file mode 100755 index 00000000..cfc0450a --- /dev/null +++ b/core/redo/build @@ -0,0 +1,12 @@ +#!/bin/sh -e + +"${CC:=cc}" -Os -Wall -Wextra -Wwrite-strings -c -o redo.o redo.c +"$CC" -static -o redo redo.c + +for file in redo redo-sources redo-targets; do + install -Dm755 "$file" "$1/usr/bin/$file" +done + +for file in redo-ifcreate redo-ifchange redo-always; do + ln -sf redo "$1/usr/bin/$file" +done |