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