summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7768579..6f65c2d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ WWW_DIR = ${CURDIR}/www
MODULES_SRC = $(addprefix $(SRC_DIR)/,$(MODULES))
MODULES_WWW = $(addprefix $(WWW_DIR)/,$(MODULES))
-all: build $(MODULES_WWW)
+all: build $(WWW_DIR) $(MODULES_WWW)
build:
for module in $(MODULES_SRC) ; do \
@@ -18,7 +18,7 @@ clean:
done
$(MODULES_WWW): %:
- ln -s $(SRC_DIR)/$(patsubst $(WWW_DIR)/%,%,$@)/www $@
+ ln -s $(SRC_DIR)/$(patsubst $(WWW_DIR)/%,%,$@)/www/ $@
$(WWW_DIR):
mkdir -p $@