summaryrefslogtreecommitdiff
path: root/build/rules.mk.in
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2012-02-16 02:47:54 +0100
committerStefan Fritsch <sf@sfritsch.de>2012-02-16 02:47:54 +0100
commit212cb6c2dcb419aaa6c848406136ec05e98c8632 (patch)
tree3c6f8cc25cde8781809bfeb92ebcadac341b1af4 /build/rules.mk.in
parente072a2dd866b7cb9f14319b80326a4e7fd16fcdf (diff)
downloadapache2-212cb6c2dcb419aaa6c848406136ec05e98c8632.tar.gz
Import upstream release candidate 2.4.1upstream/2.4.1
Diffstat (limited to 'build/rules.mk.in')
-rw-r--r--build/rules.mk.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/build/rules.mk.in b/build/rules.mk.in
index 2bf16fe6..3dedb9a3 100644
--- a/build/rules.mk.in
+++ b/build/rules.mk.in
@@ -166,9 +166,15 @@ local-extraclean: local-distclean x-local-extraclean
fi
program-install: $(TARGETS) $(SHARED_TARGETS)
- @if test -n '$(PROGRAMS)'; then \
+ @if test -n '$(bin_PROGRAMS)'; then \
+ test -d $(DESTDIR)$(bindir) || $(MKINSTALLDIRS) $(DESTDIR)$(bindir); \
+ list='$(bin_PROGRAMS)'; for i in $$list; do \
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir); \
+ done; \
+ fi
+ @if test -n '$(sbin_PROGRAMS)'; then \
test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir); \
- list='$(PROGRAMS)'; for i in $$list; do \
+ list='$(sbin_PROGRAMS)'; for i in $$list; do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir); \
done; \
fi