diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |