]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
file_cmds: Fix install and COLORLS
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:08:32 +0000 (14:08 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:08:32 +0000 (14:08 -0400)
file_cmds/Makefile
file_cmds/install/Makefile
file_cmds/ls/Makefile
file_cmds/xinstall [new symlink]

index d1f3031bca7add2f74998aacb434fd9b84ac365f..44e87bbb1247f2d063f61468b5b30ab4a96acc9f 100644 (file)
@@ -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 <bsd.subdir.mk>
index 9513e0ee7ebca6a056df9d935c1181d05de79101..3116d07f97718b7db288dc2bfe15245880bdd9cc 100644 (file)
@@ -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 <bsd.prog.mk>
index b3318b1d8a6f5a7d69ff8c74cda351e79f9090f9..2872cbe6d040208160cccc1926a7ffbb168505c3 100644 (file)
@@ -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 (symlink)
index 0000000..f7ffc47
--- /dev/null
@@ -0,0 +1 @@
+install
\ No newline at end of file