]> git.pld-linux.org Git - packages/libssh.git/blob - libssh-makefile.patch
- NEW, by Jacek 'jackass' Brzozowski <metallowiec@op.pl>
[packages/libssh.git] / libssh-makefile.patch
1 --- libssh-0.11/Makefile.in~    2005-03-04 20:54:59.000000000 +0100
2 +++ libssh-0.11/Makefile.in     2006-05-27 18:30:21.000000000 +0200
3 @@ -37,10 +37,6 @@
4         mkdir $(DISTLIB)
5         cp Makefile.in configure.in configure config.h.in install-sh \
6         mkinstalldirs config.sub config.guess $(DISTLIB)
7 -       mkdir $(DISTLIB)/libssh
8 -       mkdir $(DISTLIB)/include
9 -       mkdir $(DISTLIB)/include/libssh
10 -       mkdir $(DISTLIB)/doc
11         cp libssh/Makefile.in $(DISTLIB)/libssh/
12         cp libssh/*.c $(DISTLIB)/libssh/
13         cp include/libssh/libssh.h include/libssh/sftp.h \
14 @@ -55,12 +51,12 @@
15           (cd $$dir && $(MAKE) install) \
16           || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
17         done && test -z "$$fail"
18 -       $(top_srcdir)/mkinstalldirs $(incldir)/libssh
19 -       $(INSTALL) include/libssh/libssh.h $(incldir)/libssh/
20 -       $(INSTALL) include/libssh/config.h $(incldir)/libssh/
21 -       $(INSTALL) include/libssh/sftp.h $(incldir)/libssh/
22 -       $(INSTALL) include/libssh/crypto.h $(incldir)/libssh/
23 -       $(INSTALL) include/libssh/server.h $(incldir)/libssh/
24 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)/libssh
25 +       $(INSTALL) include/libssh/libssh.h $(DESTDIR)$(incldir)/libssh/
26 +       $(INSTALL) include/libssh/config.h $(DESTDIR)$(incldir)/libssh/
27 +       $(INSTALL) include/libssh/sftp.h $(DESTDIR)$(incldir)/libssh/
28 +       $(INSTALL) include/libssh/crypto.h $(DESTDIR)$(incldir)/libssh/
29 +       $(INSTALL) include/libssh/server.h $(DESTDIR)$(incldir)/libssh/
30  clean:
31         /bin/rm -f *~ *.o ssh sftp
32         @for dir in ${subdirs}; do \
33 --- libssh-0.11/libssh/Makefile.in~     2006-05-27 12:40:30.000000000 +0200
34 +++ libssh-0.11/libssh/Makefile.in      2006-05-27 12:42:55.000000000 +0200
35 @@ -35,7 +35,7 @@
36  install: all
37         $(top_srcdir)/mkinstalldirs $(incldir)
38         $(top_srcdir)/mkinstalldirs $(libdir)
39 -       $(INSTALL) libssh.$(DYLIB_EXTENSION) $(libdir)
40 +       $(INSTALL) libssh.$(DYLIB_EXTENSION) $(DESTDIR)$(libdir)
41  clean:
42         rm -f *~ libssh.a libssh.so *.o
43  distclean: clean
44
This page took 0.185786 seconds and 3 git commands to generate.