summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-22 22:50:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-22 22:50:48 +0000
commit0e794a1bc6885cf569c3dc07b7fd56725aee2c2e (patch)
tree6535a05d50a72c91571c1c366a5f297451b9c8c7 /src/Makefile
parentb4517527ebe9933cd3f49da29a9443c1abaa8242 (diff)
New 'install' targets in makefile. See bug 2372.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index ffe2dbc6a2f..c6082e85194 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,6 +21,12 @@ subdirs:
fi \
done
+install:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir ; $(MAKE) install) || exit 1 ; \
+ fi \
+ done
$(LIB_DIR):
-mkdir $(LIB_DIR)