Lines 1-24
Link Here
|
1 |
--- Makefile.in.orig 2010-09-30 17:14:07 UTC |
|
|
2 |
+++ Makefile.in |
3 |
@@ -236,10 +236,10 @@ install-libraries: libraries $(SCRIPTS) |
4 |
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \ |
5 |
done; |
6 |
# install standalone scripts and their man pages, if requested |
7 |
- @mkdir -p $(DESTDIR)$(prefix)/bin |
8 |
+ @mkdir -p $(DESTDIR)$(datadir) |
9 |
-for i in $(SCRIPT_LIST) ; do \ |
10 |
if [ -f $$i ] ; then \ |
11 |
- $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \ |
12 |
+ $(INSTALL_SCRIPT) $$i $(DESTDIR)$(datadir)/$$i ; \ |
13 |
rm -f $$i ; \ |
14 |
else true; fi ; \ |
15 |
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 |
|