Use our own pax

This commit is contained in:
Michael Forney
2025-04-28 14:21:54 -07:00
parent 236c0c6ce4
commit 95cf1ad5e0
3 changed files with 5 additions and 4 deletions

View File

@@ -85,10 +85,9 @@ exe('pax', [[bin/pax/(
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c
tar.c tty_subs.c
) libbsd.a]])
file('bin/pax', '755', '$outdir/pax')
sym('bin/tar', 'pax')
sym('bin/cpio', 'pax')
man{'bin/pax/pax.1', 'bin/pax/tar.1', 'bin/pax/cpio.1'}
file('bin/tar', '755', '$outdir/pax')
sym('bin/cpio', 'tar')
man{'bin/pax/tar.1', 'bin/pax/cpio.1'}
-- rsync
exe('rsync', [[

View File

@@ -1,6 +1,7 @@
cflags{'-std=c99', '-Wall', '-Wpedantic'}
exe('pax', {'pax.c'})
file('bin/pax', '755', '$outdir/pax')
sub('host.ninja', function()
set('outdir', '$outdir/host')

View File

@@ -17,6 +17,7 @@ return {
'openbsd',
'openntpd',
'openssh',
'pax',
'perp',
'pigz',
'rc',