Little patch for install libsmbclient.h

Tom Alsberg alsbergt at cs.huji.ac.il
Tue Apr 8 11:00:20 GMT 2003


It seems that recent versions of the 3.0 source tree fail to install
when the build directory is not the same as the source directory, that
because make can't find include/libsmbclient.h in the build tree.
Following is a small patch (one line difference) to fix that.

  -- Tom

<patch>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/samba/source/Makefile.in,v
retrieving revision 1.679
diff -u -r1.679 Makefile.in
--- Makefile.in 8 Apr 2003 08:05:01 -0000       1.679
+++ Makefile.in 8 Apr 2003 10:58:08 -0000
@@ -1136,7 +1136,7 @@
        -$(INSTALLCLIENTCMD_SH) bin/libsmbclient. at SHLIBEXT@ $(DESTDIR)${prefix}/lib
        -$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib
        @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/include
-       -$(INSTALLCMD) include/libsmbclient.h $(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) $(srcdir)include/libsmbclient.h $(DESTDIR)${prefix}/include
 
 # Python extensions
</patch>
 
-- 
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page:	http://www.cs.huji.ac.il/~alsbergt/
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.


More information about the samba-technical mailing list