| 7 |
|
|
| 8 |
PACKAGES = "pxp-engine pxp-lex-iso88591 wlexing camlp4 num,cgi" |
PACKAGES = "pxp-engine pxp-lex-iso88591 wlexing camlp4 num,cgi" |
| 9 |
|
|
| 10 |
DISTRIB = $(DIRS) tools web depend INSTALL Makefile |
DISTRIB = $(DIRS) tools web depend INSTALL LICENSE README Makefile |
| 11 |
|
|
| 12 |
all: cduce.opt dtd2cduce web/files |
all: cduce.opt dtd2cduce local_website |
| 13 |
|
|
| 14 |
# Source directories |
# Source directories |
| 15 |
|
|
| 78 |
rm -f cduce cduce.opt webiface.opt ocamlprof.dump |
rm -f cduce cduce.opt webiface.opt ocamlprof.dump |
| 79 |
rm -f dtd2cduce pool webiface |
rm -f dtd2cduce pool webiface |
| 80 |
rm -Rf prepro package |
rm -Rf prepro package |
| 81 |
rm -f web/*.php web/*~ |
rm -f web/*.php web/*.html web/*~ |
| 82 |
|
|
| 83 |
|
|
| 84 |
.SUFFIXES: .ml .mli .cmo .cmi .cmx |
.SUFFIXES: .ml .mli .cmo .cmi .cmx |
| 155 |
website: web/files |
website: web/files |
| 156 |
scp web/*.php web/cduce.css cduce@iris:public_html/ |
scp web/*.php web/cduce.css cduce@iris:public_html/ |
| 157 |
|
|
| 158 |
|
local_website: cduce.opt webiface.opt |
| 159 |
|
(cd web; ../cduce.opt -quiet site.cd -- site.xml) |
| 160 |
|
|
| 161 |
# Distribution |
# Distribution |
| 162 |
|
|
| 163 |
.PHONY: package |
.PHONY: package |
| 165 |
rm -Rf package |
rm -Rf package |
| 166 |
mkdir package |
mkdir package |
| 167 |
cp -R $(DISTRIB) package/ |
cp -R $(DISTRIB) package/ |
| 168 |
|
(cd package; headache -h ../header $(DEPEND)) |
| 169 |
|
|