summary refs log tree commit diff
path: root/bin/catsh/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-04-18 20:30:54 -0400
committerJune McEnroe <june@causal.agency>2019-04-18 20:30:54 -0400
commitfb20e8c32eddb5ea4aedd44cfc0c49402ff9184d (patch)
treed9873161c7d43e452e47fdf8184439c1b6d85ca6 /bin/catsh/Makefile
parentColor python imports as Statement (diff)
downloadsrc-fb20e8c32eddb5ea4aedd44cfc0c49402ff9184d.tar.gz
src-fb20e8c32eddb5ea4aedd44cfc0c49402ff9184d.zip
Rename cash to catsh
Diffstat (limited to '')
-rw-r--r--bin/catsh/Makefile (renamed from bin/cash/Makefile)24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/cash/Makefile b/bin/catsh/Makefile
index 5dd4e726..b3dd4779 100644
--- a/bin/cash/Makefile
+++ b/bin/catsh/Makefile
@@ -40,11 +40,11 @@ GENHDRS = builtins.h nodes.h syntax.h token.h
 SRCS += $(GENSRCS)
 OBJS = $(SRCS:.c=.o) libedit/libedit.a
 
-MAN1 = cash.1 cash-kill.1 cash-printf.1 cash-test.1
+MAN1 = catsh.1 catsh-kill.1 catsh-printf.1 catsh-test.1
 
-all: tags cash
+all: tags catsh
 
-cash: $(OBJS)
+catsh: $(OBJS)
 	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
 
 $(OBJS): $(GENHDRS)
@@ -73,22 +73,22 @@ depend: $(SRCS) $(GENHDRS)
 -include .depend
 
 clean:
-	rm -f cash $(OBJS) mknodes mksyntax $(GENSRCS) $(GENHDRS) tags .depend
+	rm -f catsh $(OBJS) mknodes mksyntax $(GENSRCS) $(GENHDRS) tags .depend
 
-install: cash $(MAN1)
+install: catsh $(MAN1)
 	install -d $(PREFIX)/bin $(MANDIR)/man1
-	install cash $(PREFIX)/bin
+	install catsh $(PREFIX)/bin
 	install -m 644 $(MAN1) $(MANDIR)/man1
 
 uninstall:
-	rm -f $(PREFIX)/bin/cash $(MAN1:%=$(MANDIR)/man1/%)
+	rm -f $(PREFIX)/bin/catsh $(MAN1:%=$(MANDIR)/man1/%)
 
 shell:
-	grep -q '^$(PREFIX)/bin/cash$$' /etc/shells \
-		|| echo '$(PREFIX)/bin/cash' >> /etc/shells
+	grep -q '^$(PREFIX)/bin/catsh$$' /etc/shells \
+		|| echo '$(PREFIX)/bin/catsh' >> /etc/shells
 
 unshell:
-	sed -i sed '\;^$(PREFIX)/bin/cash$$;d' /etc/shells
+	sed -i sed '\;^$(PREFIX)/bin/catsh$$;d' /etc/shells
 
-README: cash.7
-	mandoc cash.7 | col -bx > README
+README: catsh.7
+	mandoc catsh.7 | col -bx > README