| 58 |
LINK = $(CAMLC) -custom -linkpkg gramlib.cma |
LINK = $(CAMLC) -custom -linkpkg gramlib.cma |
| 59 |
endif |
endif |
| 60 |
|
|
| 61 |
# all: cduce dtd2cduce local_website |
all: cduce dtd2cduce website validate |
|
all: cduce dtd2cduce local_website validate |
|
| 62 |
|
|
| 63 |
# Source directories |
# Source directories |
| 64 |
|
|
| 101 |
|
|
| 102 |
DEPEND = $(ALL_OBJECTS:.cmo=.ml) $(ALL_OBJECTS:.cmo=.mli) |
DEPEND = $(ALL_OBJECTS:.cmo=.ml) $(ALL_OBJECTS:.cmo=.mli) |
| 103 |
|
|
|
# DEPEND = $(DIRS:=/*.ml) $(DIRS:=/*.mli) |
|
| 104 |
INCLUDES = $(DIRS:%=-I %) |
INCLUDES = $(DIRS:%=-I %) |
| 105 |
|
|
| 106 |
cduce: $(CDUCE:.cmo=.$(EXTENSION)) |
cduce: $(CDUCE:.cmo=.$(EXTENSION)) |
| 156 |
# CDuce-generated files |
# CDuce-generated files |
| 157 |
|
|
| 158 |
driver/examples.ml: cduce web/examples/build.cd web/examples/examples.xml |
driver/examples.ml: cduce web/examples/build.cd web/examples/examples.xml |
| 159 |
(cd web/examples; ../../cduce --quiet build.cd) |
(cd web/examples; ../../cduce --quiet build.cd --arg examples.xml) |
| 160 |
|
|
| 161 |
webpages: cduce web/site.cd |
webpages: cduce web/site.cd |
| 162 |
(cd web; ../cduce --quiet site.cd --arg $(PHP_ARG) site.xml) |
(cd web; ../cduce --quiet site.cd --arg $(PHP_ARG) site.xml) |