--- a/Makefile.in
+++ b/Makefile.in
@@ -94,6 +94,15 @@
 	done
 	$(INSTALL_DATA) build/apr_rules.out $(DESTDIR)$(installbuilddir)/apr_rules.mk
 	$(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
+
+	if [ ! -d $(DESTDIR)$(installbuilddir) ]; then \
+	    $(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir); \
+	fi
+	for file in find_apr.m4 apr_common.m4 install.sh gen-build.py get-version.sh ; do \
+		$(LIBTOOL) --mode=install cp $(top_srcdir)/build/$$file \
+	    $(DESTDIR)$(installbuilddir)/$$file	; \
+	done
+
 	@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
             for i in $(INSTALL_SUBDIRS); do \
 	        ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
