aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 17:07:55 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 17:07:55 +0300
commit621b4bddbd0e94a1ba5b2975c2332758b11a3e0a (patch)
tree13719b7bdf2502ead0313effdf25634edeaec883 /Makefile
parentd7f8dce37ecea2fa24883b58a8bbd5f25fb69221 (diff)
downloadotools-621b4bddbd0e94a1ba5b2975c2332758b11a3e0a.tar.gz
pax: link to tar and cpio as well
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7ec6c06..d0ff43b 100644
--- a/Makefile
+++ b/Makefile
@@ -250,6 +250,7 @@ nc: ${NCOBJ} ${LIB}
# ------------------------------------------------------------------------------
# pax
+PAXLINK = tar cpio
PAXOBJ = \
bin/pax/ar_io.o \
bin/pax/ar_subs.o \
@@ -377,6 +378,8 @@ install:
cp $${bin} ${DESTDIR}${BINDIR}; \
chmod 755 ${DESTDIR}${BINDIR}/$${bin##*/}; done
chmod u+s ${DESTDIR}${BINDIR}/doas
+ for bin in ${PAXLINK}; do \
+ ln -s pax ${DESTDIR}${BINDIR}/$${bin}; done
for bin in ${MANDOCLINK}; do \
ln -s mandoc ${DESTDIR}${BINDIR}/$${bin}; done
for bin in ${MD5LINK}; do \