чување 32ee557147a961414b0b4ffff98ed11e39f94cd4
родитељ 0ee17d07f6b9766631063a1163747fb6dd6b39bf
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 10 Apr 2023 06:25:50 +0200
*.do: Add ./ before config.redo
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 4, додавања: 8(+), брисања: 8(-)
diff --git a/default.o.do b/default.o.do
@@ -1,7 +1,7 @@
sed -n '/^#include "/s/^#include "\([^"]*\)"/\1/p' ${2%.o}.c | \
xargs redo-ifchange
redo-ifchange $2.c
-if [ -r config.redo ]; then
- . config.redo
+if [ -r ./config.redo ]; then
+ . ./config.redo
fi
${POE_CC:-gcc -g} -Wall -std=c99 -c $2.c -o $3
diff --git a/install.do b/install.do
@@ -1,6 +1,6 @@
redo-ifchange all
-if [ -r config.redo ]; then
- . config.redo
+if [ -r ./config.redo ]; then
+ . ./config.redo
fi
PREFIX=${PREFIX:-/usr/local}
BINDIR=$PREFIX/bin
diff --git a/poe.do b/poe.do
@@ -1,5 +1,5 @@
redo-ifchange po.o poe.o draw.o util.o
-if [ -r config.redo ]; then
- . config.redo
+if [ -r ./config.redo ]; then
+ . ./config.redo
fi
${POE_CC:-gcc -g} -Wall -std=c99 -o $3 po.o poe.o draw.o util.o >/dev/null
diff --git a/uninstall.do b/uninstall.do
@@ -1,6 +1,6 @@
redo-always
-if [ -r config.redo ]; then
- . config.redo
+if [ -r ./config.redo ]; then
+ . ./config.redo
fi
PREFIX=${PREFIX:-/usr/local}
BINDIR=$PREFIX/bin