From e833bf7fafcb1c9356ed56e4521453b5030c7b63 Mon Sep 17 00:00:00 2001 From: dreid Date: Fri, 27 Jul 2001 10:22:04 +0000 Subject: Neither beos or OS/2 has any subdirs that need installing, so the commit that added INSTALL_SUBDIRS broke the build. I couldn't find a way of getting it to work with an empty INSTALL_SUBDIRS (others may be able to) so I opted for setting it initially to 'none' and then testing for that when come to make install. This gets make install working again but was only tested on beos. Other platforms shouldn't be affected, but please test. Brian, does this work for OS/2? git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62045 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index cbcb1a472..487953797 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,9 +61,11 @@ install: $(TARGET_LIB) fi; \ $(LIBTOOL) --mode=install cp $(TARGET_LIB) $(libdir) $(LIBTOOL) --mode=install cp APRVARS $(libdir) - @for i in $(INSTALL_SUBDIRS); do \ - ( cd $$i ; $(MAKE) install ); \ - done + @if [ $(INSTALL_SUBDIRS) != "none" ]; then \ + for i in $(INSTALL_SUBDIRS); do \ + ( cd $$i ; $(MAKE) install ); \ + done \ + fi $(TARGET_LIB): @for i in $(SUBDIRS); do objects="$$objects $$i/*.@so_ext@"; done ; \ -- cgit v1.2.1