[Expat-bugs] [ expat-Bugs-406262 ] "make install" fails in using builddir

nobody nobody@sourceforge.net
Tue, 06 Mar 2001 03:21:31 -0800


Bugs #406262, was updated on 2001-03-06 03:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=406262&group_id=10127

Category: Build control
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous
Assigned to: Nobody/Anonymous
Summary: "make install" fails in using builddir

Initial Comment:
When building in a separate build dir, "make install" fails to find expat.h.

This very simple patch should fix it.  Apologies if it's already in CVS, but I just got a "server error" 
when I attempted to browse.

*** lib/Makefile.in.orig	Sun Oct 22 20:47:34 2000
--- lib/Makefile.in	Tue Mar  6 10:19:01 2001
***************
*** 147,153 ****
  install: $(LIBRARY) $(APIHEADER)
  	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
  	$(LIBTOOL)  --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY)
! 	$(INSTALL_DATA) $(APIHEADER) $(DESTDIR)$(includedir)
  
  uninstall:
  	$(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY);
--- 147,153 ----
  install: $(LIBRARY) $(APIHEADER)
  	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
  	$(LIBTOOL)  --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY)
! 	$(INSTALL_DATA) $(srcdir)/$(APIHEADER) $(DESTDIR)$(includedir)
  
  uninstall:
  	$(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY);


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=406262&group_id=10127