aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-07 11:31:47 +0100
committerPS <p@0x53.net>2026-02-07 11:31:47 +0100
commit6e3eb53e49696205dbfa5ca2b652edd9f6ff7829 (patch)
treec156f9c5dffbe5ea56af2eb2b2c71ab36e784c54 /tools/gen-deps.sh
parent5e95d487982b9362b544139b98d1da55fa6ef78c (diff)
downloadgoetia-base-6e3eb53e49696205dbfa5ca2b652edd9f6ff7829.tar.gz
goetia-base-6e3eb53e49696205dbfa5ca2b652edd9f6ff7829.tar.bz2
goetia-base-6e3eb53e49696205dbfa5ca2b652edd9f6ff7829.zip
Improve build system and doc
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index fafb347..23cd98f 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -2,17 +2,17 @@
. package/info
-echo '#'
-echo '# This file has been generated by tools/gen-deps.sh'
-echo '#'
-echo
+printf '#\n'
+printf '# This file has been generated by tools/gen-deps.sh\n'
+printf '#\n'
+printf '\n'
if test -d src/bin
then
cd src/bin
for FILE in $(find * -type f 2> /dev/null); do
- echo "${FILE}: src/bin/${FILE}"
- echo "\$(DESTDIR)\$(bindir)/${FILE}: ${FILE}"
+ printf "${FILE}: src/bin/${FILE}\n"
+ printf "\$(bindir)/${FILE}: ${FILE}\n"
done
cd ../..
fi
@@ -21,8 +21,8 @@ if test -d src/lib
then
cd src/lib
for FILE in $(find * -type f 2> /dev/null); do
- echo "${FILE}: src/lib/${FILE}"
- echo "\$(DESTDIR)\$(libdir)/${FILE}: ${FILE}"
+ printf "${FILE}: src/lib/${FILE}\n"
+ printf "\$(libdir)/${FILE}: ${FILE}\n"
done
cd ../..
fi
@@ -30,6 +30,6 @@ fi
if test -f package/extras
then
for EXTRA in $(cat package/extras); do
- echo "\$(DESTDIR)\$(libdir)/${EXTRA}: ${EXTRA}"
+ printf "\$(libdir)/${EXTRA}: ${EXTRA}\n"
done
fi