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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 20 Jul 2001 20:46:43 -0700


Bugs item #406262, was opened at 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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
>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);


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-20 20:46

Message:
Logged In: YES 
user_id=3066

Due to other changes in the source tree, this is no longer a problem.  Configure now sets up the right directory references, and the expat.h file is generated at build time.

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

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