$NetBSD: patch-ab,v 1.4 1999/05/20 20:37:50 tron Exp $ --- Makefile.in.orig Mon Aug 24 09:16:08 1998 +++ Makefile.in Thu May 20 22:21:44 1999 @@ -44,7 +44,7 @@ libcclib = @libcclib@ cclib = @cclib@ -INSTALL = $(LIBTOOL) @INSTALL@ +INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ YACC = @YACC@ @@ -112,12 +112,15 @@ $(SHELL) ${srcdir}/scripts/mkinstalldirs $(bindir) $(includedir) $(libdir) $(pixdir) $(mandir1) $(mandir7) install: $(EXECS) installdirs $(PILIB) $(PICCLIB) - $(INSTALL_DATA) $(PILIB) $(libdir)/libpisock.la + $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PILIB) $(libdir)/libpisock.la if test -n "$(PICCLIB)"; then \ - $(INSTALL_DATA) $(PICCLIB) $(libdir)/libpicc.la; \ + $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PICCLIB) $(libdir)/libpicc.la; \ fi - for p in $(EXECS); do \ - $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \ + for p in $(CEXECS) ${CXXEXECS}; do \ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \ + done + for p in $(PERLEXECS); do \ + $(BSD_INSTALL_SCRIPT) $$p $(bindir)/$$p; \ done for h in include/*.h $(srcdir)/include/*.h include/*.hxx $(srcdir)/include/*.hxx; do \ $(INSTALL_DATA) $$h $(includedir)/`basename $$h`; \