From 2acc2602393eb883ceef5e6f686dc815bfae6a9c Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 22 Jul 1986 10:47:51 +0000 Subject: [PATCH] Adapted so that anybody can do "make install". --- util/ack/Makefile | 3 ++- util/ack/pc/Makefile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/util/ack/Makefile b/util/ack/Makefile index 8d6554010..b33790fdf 100644 --- a/util/ack/Makefile +++ b/util/ack/Makefile @@ -16,9 +16,10 @@ BINDIR=../../bin head: ack install: ack + rm -f $(BINDIR)/ack cp ack $(BINDIR)/ack -cd $(BINDIR) ; \ - for i in $(INTABLES) $(LNTABLES) ; do ln ack $$i ; done + for i in $(INTABLES) $(LNTABLES) ; do rm -f $$i ; ln ack $$i ; done (cd pc ; make install ) cmp: ack diff --git a/util/ack/pc/Makefile b/util/ack/pc/Makefile index 4d4f340fa..3d55256b9 100644 --- a/util/ack/pc/Makefile +++ b/util/ack/pc/Makefile @@ -10,6 +10,7 @@ cmp: em_pc cmp em_pc $(PC_PATH) install: em_pc + rm -f $(PC_PATH) cp em_pc $(PC_PATH) lint: -- 2.34.1