diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-02-11 05:44:20 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-02-11 05:44:20 +0000 |
| commit | 581dfc5cc0ea046c761e84f28e00a4418346cee4 (patch) | |
| tree | 0c93d8e8477855c8e6e25595fae15cf59516bf5d /gnu/usr.bin/tar | |
| parent | 7d23b5b7dbf4760a713d78a6b0ddf526abaa5d63 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/tar')
| -rw-r--r-- | gnu/usr.bin/tar/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/tar/Makefile b/gnu/usr.bin/tar/Makefile index f54882153369..172537073a62 100644 --- a/gnu/usr.bin/tar/Makefile +++ b/gnu/usr.bin/tar/Makefile @@ -3,7 +3,12 @@ TARDIR= ${.CURDIR}/../../../contrib/tar .PATH: ${TARDIR}/lib ${TARDIR}/src -PROG= tar +PROG= gtar + +.if !defined(WITH_BSDTAR) +LINKS= ${BINDIR}/gtar ${BINDIR}/tar +MLINKS= gtar.1 tar.1 +.endif SUBDIR= doc @@ -18,4 +23,9 @@ SRCS+= buffer.c compare.c create.c delete.c extract.c incremen.c list.c \ CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${TARDIR}/lib -I${TARDIR}/src +# "Rename" tar.1 to gtar.1 so that we can install gtar.1 with +# tar.1 as an optional link (rather than vice versa) +gtar.1: tar.1 + cp $(.CURDIR)/tar.1 $(.TARGET) + .include <bsd.prog.mk> |
