ship_find_apr.m4.patch 878 B

1234567891011121314151617181920212223242526
  1. From: Tollef Fog Heen <tfheen@err.no>
  2. Subject: Install a set of random build files too
  3. ---
  4. Makefile.in | 9 +++++++++
  5. 1 file changed, 9 insertions(+)
  6. --- apr.orig/Makefile.in
  7. +++ apr/Makefile.in
  8. @@ -92,6 +92,15 @@ install: $(TARGETS)
  9. done
  10. $(INSTALL_DATA) build/apr_rules.out $(DESTDIR)$(installbuilddir)/apr_rules.mk
  11. $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
  12. +
  13. + if [ ! -d $(DESTDIR)$(installbuilddir) ]; then \
  14. + $(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir); \
  15. + fi
  16. + for file in find_apr.m4 apr_common.m4 install.sh gen-build.py get-version.sh ; do \
  17. + $(LIBTOOL) --mode=install cp $(top_srcdir)/build/$$file \
  18. + $(DESTDIR)$(installbuilddir)/$$file ; \
  19. + done
  20. +
  21. @if [ $(INSTALL_SUBDIRS) != "none" ]; then \
  22. for i in $(INSTALL_SUBDIRS); do \
  23. ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \