1 diff -burN libssh2-0.4.orig/Makefile.in libssh2-0.4/Makefile.in
2 --- libssh2-0.4.orig/Makefile.in 2004-12-25 11:49:22.235014936 +0100
3 +++ libssh2-0.4/Makefile.in 2004-12-25 11:50:31.301515232 +0100
5 $(CC) -o ssh2_sample.o ssh2_sample.c $(CFLAGS)
6 $(CC) -o ssh2_sample ssh2_sample.o $(LIBS)
8 - $(top_srcdir)/mkinstalldirs $(incldir)
9 - $(top_srcdir)/mkinstalldirs $(libdir)
10 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)
11 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
12 @for dir in ${subdirs}; do \
13 (cd $$dir && $(MAKE) install) \
14 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
15 done && test -z "$$fail"
16 - $(INSTALL) -m 644 include/libssh2.h $(incldir)/
17 - $(INSTALL) -m 644 include/libssh2_sftp.h $(incldir)/
18 + $(INSTALL) -m 644 include/libssh2.h $(DESTDIR)$(incldir)/
19 + $(INSTALL) -m 644 include/libssh2_sftp.h $(DESTDIR)$(incldir)/
21 @for dir in ${subdirs}; do \
22 (cd $$dir && $(MAKE) clean) \
23 diff -burN libssh2-0.4.orig/src/Makefile.in libssh2-0.4/src/Makefile.in
24 --- libssh2-0.4.orig/src/Makefile.in 2004-12-25 11:49:22.238014480 +0100
25 +++ libssh2-0.4/src/Makefile.in 2004-12-25 11:50:43.553652624 +0100
27 ar q libssh2.a $(OBJECTS)
30 - $(INSTALL) libssh2.@SHLIB_SUFFIX_NAME@ $(libdir)
31 + $(INSTALL) libssh2.@SHLIB_SUFFIX_NAME@ $(DESTDIR)$(libdir)
33 rm -f *~ libssh2.a libssh2.@SHLIB_SUFFIX_NAME@ *.o