summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-06-30 09:10:42 +0000
committerJoe Orton <jorton@apache.org>2004-06-30 09:10:42 +0000
commit77dbee9ebc6abadf574794425970312041b8f04b (patch)
tree07470e66b65953a06dd6089b1324b255259221e9 /Makefile.in
parent832e36448f8503cfd11baf99b68c5d5534d8e90d (diff)
downloadapr-77dbee9ebc6abadf574794425970312041b8f04b.tar.gz
* Makefile.in (install): Simplify stupid over-engineering.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65243 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 74ce32c18..defaa2f10 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -39,8 +39,7 @@ TARGETS = $(TARGET_LIB) export_vars.c apr.exp
@INCLUDE_RULES@
@INCLUDE_OUTPUTS@
-CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
- $(APR_PCFILE)
+CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs
DISTCLEAN_TARGETS = config.cache config.log config.status \
include/apr.h include/arch/unix/apr_private.h \
libtool apr-config build/apr_rules.mk apr.pc
@@ -58,11 +57,7 @@ installbuilddir=@installbuilddir@
apr-config.out: apr-config
sed 's,^\(location=\).*$$,\1installed,' < apr-config > $@
-$(APR_PCFILE): apr.pc
- @rm -f $@
- cp apr.pc $@
-
-install: $(TARGET_LIB) apr-config.out $(APR_PCFILE)
+install: $(TARGET_LIB) apr-config.out
if [ ! -d $(DESTDIR)$(includedir) ]; then \
$(top_srcdir)/build/mkdir.sh $(DESTDIR)$(includedir); \
fi;
@@ -79,7 +74,7 @@ install: $(TARGET_LIB) apr-config.out $(APR_PCFILE)
if [ ! -d $(DESTDIR)$(libdir)/pkgconfig ]; then \
$(top_srcdir)/build/mkdir.sh $(DESTDIR)$(libdir)/pkgconfig; \
fi;
- cp -p $(APR_PCFILE) $(DESTDIR)$(libdir)/pkgconfig
+ cp -p apr.pc $(DESTDIR)$(libdir)/pkgconfig/$(APR_PCFILE)
if [ ! -d $(DESTDIR)$(installbuilddir) ]; then \
$(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir); \
fi;