summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8682745..fbeb8e8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ HTML = ./scripts/html.py
FIND = ./scripts/find.py
ALLYAML = $(shell ${FIND} -all)
FOLDERS = $(subst ./,,$(shell cd ./projects; find -type d))
+HTMLDIR = $(addprefix html/, ${FOLDERS})
PRODIR = $(shell find ./projects -type d)
TEAM = Core IO MM
MEMBER = BSP Geert Jacopo Kaneko Kieran Laurent Magnus Marek Morimoto Niklas Shimoda Simon Ulrich Wolfram NoAssignee
@@ -9,6 +10,7 @@ STATUS = New Active Blocked Paused Done Abandoned
NOPARAM = menu subindex body index
all:
+ @make -s ${HTMLDIR}
@make -s LISTS="${MEMBER}" TARGET=finds EXP1=member EXP2=-a loop
@make -s LISTS="${STATUS}" TARGET=finds EXP1=status EXP2=-s loop
@make -s LISTS="${TEAM}" TARGET=finds EXP1=team EXP2=-t loop
@@ -21,10 +23,10 @@ all:
index.html:
@ln html/index.html .
-$(dir ${FILE}):
- @mkdir -p $@
+${HTMLDIR}:
+ mkdir -p $@
-${FILE}: ${HTML_OPTION2} $(dir ${FILE}) ${HTML}
+${FILE}: ${HTML_OPTION2} ${HTML}
echo $@
${HTML} ${HTML_OPTION1} ${HTML_OPTION2} > $@
loop: