summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-07-01 14:34:48 +0000
committerJoe Orton <jorton@apache.org>2004-07-01 14:34:48 +0000
commitde1954ca0505b68c84500c7e9d4482a30cf71dca (patch)
tree623963d156ea3fbdde7305168035b4773ae11f6b /Makefile.in
parent75c0a74d318b79c36bd4eb6a311da201989aff55 (diff)
downloadapr-de1954ca0505b68c84500c7e9d4482a30cf71dca.tar.gz
* Makefile.in (install): Install an apr-1-config script alongside
apr-config, more parallel install safety. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65254 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 9908354dc..356630faa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -28,6 +28,7 @@ INSTALL_SUBDIRS=@INSTALL_SUBDIRS@
TARGET_LIB = lib@APR_LIBNAME@.la
APR_PCFILE = apr-$(APR_MAJOR_VERSION).pc
+APR_CONFIG = apr-$(APR_MAJOR_VERSION)-config
#
# Rules for building specific targets, starting with 'all' for
@@ -97,7 +98,8 @@ install: $(TARGET_LIB) apr-config.out build/apr_rules.out
$(top_srcdir)/build/mkdir.sh $(DESTDIR)$(bindir); \
fi;
$(LIBTOOL) --mode=install cp apr-config.out $(DESTDIR)$(bindir)/apr-config
- chmod 755 $(DESTDIR)$(bindir)/apr-config
+ $(LIBTOOL) --mode=install cp apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
+ chmod 755 $(DESTDIR)$(bindir)/apr-config $(DESTDIR)$(bindir)/$(APR_CONFIG)
@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
for i in $(INSTALL_SUBDIRS); do \
( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \