From aa28d2d407ecd14edc2d37afa20a06e2bef702b2 Mon Sep 17 00:00:00 2001 From: rrt Date: Wed, 24 Oct 2001 10:05:51 +0000 Subject: [PATCH] [project @ 2001-10-24 10:05:51 by rrt] Add install-docs target to top level. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 7f680ee..784574b 100644 --- a/Makefile +++ b/Makefile @@ -332,6 +332,15 @@ install :: fi; \ done +install-docs :: + @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \ + for i in $(filter-out $(ProjectsDontInstall), $(SUBDIRS)); do \ + if [ -d $$i ]; then \ + $(MAKE) -C $$i install-docs; \ + if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \ + fi; \ + done + # Turn off target.mk's rules for 'all', 'boot' and 'install'. NO_BOOT_TARGET=YES NO_ALL_TARGET=YES -- 1.7.10.4