You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rj...@apache.org on 2010/07/25 19:46:39 UTC

svn commit: r979078 - /apr/apr/trunk/Makefile.in

Author: rjung
Date: Sun Jul 25 17:46:38 2010
New Revision: 979078

URL: http://svn.apache.org/viewvc?rev=979078&view=rev
Log:
Fix broken header file installation for VPATH build.

Some header files are generated during build, e.g.
apr_ldap.h and apu_want.h. Those header files need
to be picked up from the build dir during installation.
For a VPATH build, build dir and source dir are not the same.

Modified:
    apr/apr/trunk/Makefile.in

Modified: apr/apr/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/Makefile.in?rev=979078&r1=979077&r2=979078&view=diff
==============================================================================
--- apr/apr/trunk/Makefile.in (original)
+++ apr/apr/trunk/Makefile.in Sun Jul 25 17:46:38 2010
@@ -95,6 +95,9 @@ install: install-modules $(TARGETS)
 	for f in $(top_srcdir)/include/apr_*.h $(top_srcdir)/include/apu_*.h; do \
 	    $(INSTALL_DATA) $${f} $(DESTDIR)$(includedir); \
 	done
+	for f in $(top_blddir)/include/apr_*.h $(top_blddir)/include/apu_*.h; do \
+	    $(INSTALL_DATA) $${f} $(DESTDIR)$(includedir); \
+	done
 	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
 	$(INSTALL_DATA) apr.exp $(DESTDIR)$(libdir)/apr.exp
 	$(INSTALL_DATA) apr.pc $(DESTDIR)$(libdir)/pkgconfig/$(APR_PCFILE)