changeset 593:81a746ef39d0 trunk

[svn] install subobjectives
author nenolod
date Thu, 02 Feb 2006 19:01:48 -0800
parents 7bbe7a94bc20
children 393b53af008e
files mk/objective.mk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mk/objective.mk	Thu Feb 02 18:49:10 2006 -0800
+++ b/mk/objective.mk	Thu Feb 02 19:01:48 2006 -0800
@@ -15,6 +15,12 @@
 install:
 	$(MAKE) install-prehook
 	$(INSTALL) -d -m 755 $(DESTDIR)/$(LIBDIR)
+	@if test "$(SUBDIRS)" != "none"; then \
+		for i in $(SUBDIRS); do \
+			echo "[installing subobjective: $$i]"; \
+			(cd $$i; $(MAKE) install; cd ..); \
+		done; \
+	fi
 	@if test "$(OBJECTIVE_DIRECTORIES)" != "none"; then \
 		for i in $(OBJECTIVE_DIRECTORIES); do \
 			printf "%10s     %-20s\n" MKDIR $$i; \