8 WML_SRC
= $(wildcard *.wml
)
9 WML_OBJS
= $(patsubst %.wml
,%.html
,$(WML_SRC
))
11 %.html
: %.wml ..
/include/macros.wml
13 # -rm -f $(patsubst %.wml,%.html,$<)
15 all : $(WML_OBJS
) subdirs
19 $(foreach dir, $(SUBDIRS
), sh
-c
"cd $(dir) && $(MAKE) clean";)
24 $(foreach dir, $(SUBDIRS
), sh
-c
"cd $(dir) && $(MAKE)";)
28 @sh
-c
"if [ "$(CLASSPATH_WEBROOT
)x
" = x ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
29 @sh
-c
"if [ ! -d $(CLASSPATH_WEBROOT) ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
30 $(foreach dir, $(SUBDIRS
), sh
-c
"cd $(dir) && $(MAKE) publish";)
31 -cp
-f
*.html
$(CLASSPATH_WEBROOT
)/announce
/