summaryrefslogtreecommitdiff
path: root/comms/pilot-link/patches/patch-ab
blob: c351bc711077705de687e56df70e0c3506347217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- Makefile.in.orig	Fri Jul 17 16:30:38 1998
+++ Makefile.in	Fri Jul 17 16:48:57 1998
@@ -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); do \
+		$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
+	done
+	for p in $(PERLEXECS); do \
+		$(LIBTOOL) --mode=install $(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`; \