[Expat-bugs] expat 1.95.8 Makefile.in patch (installib, APIHEADER related)

Jason Byrne jason.byrne at ucr.edu
Thu Sep 22 00:32:24 CEST 2005


Hello,

I just compiled/installed expat-1.95.8 on Solaris 9, and noticed what I
believe is an install-sh issue... single file install functionality vs.
multiple file APIHEADER expansion.

Patch attached...

Thanks,
- Jason
-------------- next part --------------
--- Makefile.in.dist	Wed Sep 21 15:05:24 2005
+++ Makefile.in	Wed Sep 21 15:10:44 2005
@@ -80,7 +80,9 @@
 installlib: $(LIBRARY) $(APIHEADER)
 	$(mkinstalldirs) $(libdir) $(includedir)
 	$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY)
-	$(INSTALL_DATA) $(APIHEADER) $(includedir)
+	@for f in $(APIHEADER); do \
+		$(INSTALL_DATA) $$f $(includedir) ; \
+	done
 
 uninstall: uninstalllib
 	$(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf


More information about the Expat-bugs mailing list