sled

Једноставни уређивач текста
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 78071b3307b9bc1153c787bfb4279a17d2eaf825
родитељ ef569ffdd73b57fcd83c19426861338beac40bef
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Mon, 10 Apr 2023 06:22:32 +0200

*.do: Add ./ before config.redo

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mdefault.o.do | 4++--
Minstall.do | 4++--
Msled.do | 4++--
Muninstall.do | 4++--
измењених датотека: 4, додавања: 8(+), брисања: 8(-)

diff --git a/default.o.do b/default.o.do @@ -1,8 +1,8 @@ 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 SLED_CC=${SLED_CC:-gcc -g} ${SLED_CC} -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/sled.do b/sled.do @@ -1,6 +1,6 @@ redo-ifchange sled.o draw.o util.o -if [ -r config.redo ]; then - . config.redo +if [ -r ./config.redo ]; then + . ./config.redo fi SLED_CC=${SLED_CC:-gcc -g} ${SLED_CC} -Wall -std=c99 -o $3 sled.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