Lines 1-24
Link Here
|
1 |
--- Makefile.in.orig 2010-09-30 17:14:07 UTC |
1 |
--- Makefile.in.orig 2018-10-29 17:22:54 UTC |
2 |
+++ Makefile.in |
2 |
+++ Makefile.in |
3 |
@@ -236,10 +236,10 @@ install-libraries: libraries $(SCRIPTS) |
3 |
@@ -238,9 +238,9 @@ install-libraries: libraries $(SCRIPTS) |
4 |
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \ |
|
|
5 |
done; |
6 |
# install standalone scripts and their man pages, if requested |
4 |
# install standalone scripts and their man pages, if requested |
7 |
- @mkdir -p $(DESTDIR)$(prefix)/bin |
5 |
@mkdir -p $(DESTDIR)$(prefix)/bin |
8 |
+ @mkdir -p $(DESTDIR)$(datadir) |
|
|
9 |
-for i in $(SCRIPT_LIST) ; do \ |
6 |
-for i in $(SCRIPT_LIST) ; do \ |
10 |
if [ -f $$i ] ; then \ |
7 |
- if [ -f $$i ] ; then \ |
11 |
- $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \ |
8 |
- $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \ |
12 |
+ $(INSTALL_SCRIPT) $$i $(DESTDIR)$(datadir)/$$i ; \ |
9 |
- rm -f $$i ; \ |
13 |
rm -f $$i ; \ |
10 |
+ if [ -f expect-$$i ] ; then \ |
|
|
11 |
+ $(INSTALL_PROGRAM) expect-$$i $(DESTDIR)$(prefix)/bin/expect-$$i; \ |
12 |
+ rm -f expect-$$i ; \ |
14 |
else true; fi ; \ |
13 |
else true; fi ; \ |
15 |
done |
14 |
done |
16 |
@@ -259,7 +259,7 @@ install-doc: doc |
|
|
17 |
$(INSTALL_DATA) $(srcdir)/libexpect.man $(DESTDIR)$(mandir)/man3/libexpect.3 |
18 |
-for i in $(SCRIPT_MANPAGE_LIST) ; do \ |
19 |
if [ -f $(srcdir)/example/$$i.man ] ; then \ |
20 |
- $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(mandir)/man1/$$i.1 ; \ |
21 |
+ $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(datadir)/$$i.1 ; \ |
22 |
else true; fi ; \ |
23 |
done |
24 |
|
15 |
|
|
|
16 |
|