From 8b917ea5669120db8411426243b2b0f9a3d1e83a Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 14:08:32 -0400 Subject: file_cmds: Fix install and COLORLS --- file_cmds/Makefile | 4 ++-- file_cmds/install/Makefile | 9 ++++++--- file_cmds/ls/Makefile | 4 +++- file_cmds/xinstall | 1 + 4 files changed, 12 insertions(+), 6 deletions(-) create mode 120000 file_cmds/xinstall (limited to 'file_cmds') diff --git a/file_cmds/Makefile b/file_cmds/Makefile index d1f3031..44e87bb 100644 --- a/file_cmds/Makefile +++ b/file_cmds/Makefile @@ -8,7 +8,6 @@ SUBDIR= chflags \ df \ du \ gzip \ - install \ ipcrm \ ipcs \ ln \ @@ -25,6 +24,7 @@ SUBDIR= chflags \ rmt \ shar \ stat \ - touch + touch \ + xinstall .include diff --git a/file_cmds/install/Makefile b/file_cmds/install/Makefile index 9513e0e..3116d07 100644 --- a/file_cmds/install/Makefile +++ b/file_cmds/install/Makefile @@ -1,6 +1,9 @@ -PROG= install -SRCS= xinstall.c +# @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ -BINDIR=/bin +PROG= xinstall +PROGNAME= install +SRCS= xinstall.c +MAN= install.1 .include diff --git a/file_cmds/ls/Makefile b/file_cmds/ls/Makefile index b3318b1..2872cbe 100644 --- a/file_cmds/ls/Makefile +++ b/file_cmds/ls/Makefile @@ -1,7 +1,9 @@ PROG= ls SRCS= cmp.c ls.c print.c util.c -LDADD=-lutil +CFLAGS+=-DCOLORLS + +LDADD=-lutil -lncursesw BINDIR=/bin diff --git a/file_cmds/xinstall b/file_cmds/xinstall new file mode 120000 index 0000000..f7ffc47 --- /dev/null +++ b/file_cmds/xinstall @@ -0,0 +1 @@ +install \ No newline at end of file -- cgit v1.2.3-56-ge451