From ca463ce367fd1af686c47742afd6c09256036922 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 21 Dec 2020 03:13:08 +0300 Subject: redo: add new package at 0.3 --- core/redo/build | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 core/redo/build (limited to 'core/redo/build') 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 -- cgit v1.2.3