Browse Source

define installsubdirs in Dir.make

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46872 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
ae982d03d0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      include/Make/Dir.make

+ 6 - 1
include/Make/Dir.make

@@ -15,6 +15,12 @@ subdirs:
 	    $(MAKE) -C $$subdir || echo $(CURDIR)/$$subdir >> $(ERRORLOG) ; \
 	done
 
+installsubdirs:
+	@list='$(SUBDIRS)'; \
+	for subdir in $$list; do \
+	    $(MAKE) -C $$subdir install; \	
+	done
+
 %-recursive:
 	@list='$(SUBDIRS)'; \
 	for subdir in $$list; do \
@@ -33,4 +39,3 @@ parsubdirs: $(SUBDIRS)
 
 $(SUBDIRS):
 	$(MAKE) -C $@ || echo $(CURDIR)/$@ >> $(ERRORLOG)
-