aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter <petershh@disroot.org>2022-07-18 14:09:31 +0300
committerGitHub <noreply@github.com>2022-07-18 14:09:31 +0300
commita56e9b74a901d5497425411f7f70db5f0d47baf0 (patch)
tree870c148deff21f76f105533721cf8e8f652951d8 /package
parent0a8f1761529bbac4d3fd3d737ba08620cca4713d (diff)
downloadshh-portable-utils-a56e9b74a901d5497425411f7f70db5f0d47baf0.tar.xz
Add tee
Diffstat (limited to 'package')
-rw-r--r--package/deps.mak3
-rw-r--r--package/modes1
-rw-r--r--package/targets.mak1
3 files changed, 5 insertions, 0 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 9e88c08..a42736e 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -12,6 +12,7 @@ src/shh-portable-utils/cut.o src/shh-portable-utils/cut.lo: src/shh-portable-uti
src/shh-portable-utils/dirname.o src/shh-portable-utils/dirname.lo: src/shh-portable-utils/dirname.c
src/shh-portable-utils/false.o src/shh-portable-utils/false.lo: src/shh-portable-utils/false.c
src/shh-portable-utils/shhgetln.o src/shh-portable-utils/shhgetln.lo: src/shh-portable-utils/shhgetln.c src/shh-portable-utils/shhfuncs.h
+src/shh-portable-utils/tee.o src/shh-portable-utils/tee.lo: src/shh-portable-utils/tee.c
src/shh-portable-utils/true.o src/shh-portable-utils/true.lo: src/shh-portable-utils/true.c
src/shh-portable-utils/uniq.o src/shh-portable-utils/uniq.lo: src/shh-portable-utils/uniq.c src/shh-portable-utils/shhfuncs.h
@@ -31,6 +32,8 @@ dirname: EXTRA_LIBS := -lskarnet
dirname: src/shh-portable-utils/dirname.o
false: EXTRA_LIBS :=
false: src/shh-portable-utils/false.o
+tee: EXTRA_LIBS := -lskarnet
+tee: src/shh-portable-utils/tee.o
true: EXTRA_LIBS :=
true: src/shh-portable-utils/true.o
uniq: EXTRA_LIBS := -lskarnet
diff --git a/package/modes b/package/modes
index 2a2e5fe..cb27b3b 100644
--- a/package/modes
+++ b/package/modes
@@ -6,5 +6,6 @@ chown 0755
cut 0755
dirname 0755
false 0755
+tee 0755
true 0755
uniq 0755
diff --git a/package/targets.mak b/package/targets.mak
index cff022d..ed47a8a 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -7,6 +7,7 @@ chown \
cut \
dirname \
false \
+tee \
true \
uniq