Commit 8e30aa31 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-05-25 13:38:38 by cvscast] cduce_config

Original author: cvscast
Date: 2003-05-25 13:41:17+00:00
parent a7a8c753
......@@ -62,7 +62,6 @@ OBJECTS = \
\
types/builtin.cmo driver/cduce.cmo
CDUCE = $(OBJECTS) driver/run.cmo
WEBIFACE = $(OBJECTS) driver/examples.cmo driver/webiface.cmo
DTD2CDUCE = tools/dtd2cduce.cmo
......@@ -71,12 +70,12 @@ INCLUDES = $(DIRS:%=-I %)
PREPRO = $(SYNTAX) pr_o.cmo
cduce: $(CDUCE:.cmo=.$(EXTENSION))
cduce: $(OBJECTS:.cmo=.$(EXTENSION)) driver/run.ml
sed -e 's|%%VERSION%%|$(VERSION)|' \
-e 's|%%BUILD_DATE%%|$(shell date -R)|' \
-e 's|%%BUILD_DATE%%|$(shell date +%Y-%m-%d)|' \
-e 's|%%NATIVE%%|$(NATIVE)|' \
misc/cduce_config.mlp > misc/cduce_config.ml
$(LINK) -o $@ misc/cduce_config.ml $^
$(LINK) $(INCLUDES) -o $@ misc/cduce_config.ml $^
rm misc/cduce_config.ml
webiface: $(WEBIFACE:.cmo=.$(EXTENSION))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment