summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2006-09-24 21:21:15 +0000
committerDavid Nusinow <dnusinow@debian.org>2006-09-24 21:21:15 +0000
commit387acaac6925e42f47031f26360e33a3f30e7312 (patch)
treea4218beb5aa67b58a74299d899dab9f2f44f971e /src/Makefile
parent952b775dbe0fb434310808058d96931b832050da (diff)
* New upstream version
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index ffe2dbc6a2f..f52a06a3c96 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@ include $(TOP)/configs/current
SUBDIRS = $(SRC_DIRS)
-default: message $(LIB_DIR) subdirs
+default: message $(TOP)/$(LIB_DIR) subdirs
message:
@@ -21,9 +21,15 @@ 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)
+$(TOP)/$(LIB_DIR):
+ -mkdir $(TOP)/$(LIB_DIR)
clean: