summaryrefslogtreecommitdiffstats
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-07 11:32:25 +0100
committerPS <p@0x53.net>2026-02-07 11:32:25 +0100
commit88048289ee9d66f55952048f9a0ef6cfcef21599 (patch)
tree30b783ff47e605f862298cc7fc6c6b599d3ff280 /tools/gen-deps.sh
parent02a071125de739ed54660ad014ffd57c42516abf (diff)
downloadgoetia-linux-init-88048289ee9d66f55952048f9a0ef6cfcef21599.tar.gz
goetia-linux-init-88048289ee9d66f55952048f9a0ef6cfcef21599.tar.bz2
goetia-linux-init-88048289ee9d66f55952048f9a0ef6cfcef21599.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