builds. When "$(shared)" was empty, instdso.sh
complained with a Usage message.
Don't call instdso, if there's nothing to install.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1239075 13f79535-47bb-0310-9956-
ffa450edef68
include $(top_builddir)/build/rules.mk
install-modules-yes: $(SHARED_TARGETS)
- @$(MKINSTALLDIRS) $(DESTDIR)$(libexecdir)
- @$(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $(shared) $(DESTDIR)$(libexecdir)
+ @if test -n "$(shared)"; then \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir); \
+ $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $(shared) $(DESTDIR)$(libexecdir); \
+ fi;
install-modules-no: