$NetBSD: patch-ac,v 1.6 1999/05/21 16:09:46 mrg Exp $ --- Makefile.in.orig Tue Mar 25 22:47:43 1997 +++ Makefile.in Sun Aug 9 17:05:07 1998 @@ -132,8 +132,8 @@ LN = @LN@ CP = cp MV = mv -INSTALL = ./bsdinstall -c -m 755 -INSTALL_DATA = ../bsdinstall -c -m 644 +INSTALL = $(BSD_INSTALL_PROGRAM) +INSTALL_DATA = $(BSD_INSTALL_DATA) VERSION = @VERSION@ @@ -186,11 +186,9 @@ installirc: irc installdirs $(INSTALL) source/irc $(INSTALL_IRC)-$(VERSION) - $(INSTALL) ircbug $(bindir)/ircbug - @if test -f $(INSTALL_IRC).old; then $(RM) $(INSTALL_IRC).old; fi - @if test -f $(INSTALL_IRC); then $(MV) $(INSTALL_IRC) $(INSTALL_IRC).old; fi + $(BSD_INSTALL_SCRIPT) ircbug $(bindir)/ircbug $(RM) $(INSTALL_IRC) - $(LN) $(INSTALL_IRC)-$(VERSION) $(INSTALL_IRC) + cd ${bindir}; $(LN) irc-$(VERSION) irc installscript: installdirs -chmod -x script/*