Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: 0.9.6
Fetching contributors…

Cannot retrieve contributors at this time

87 lines (66 sloc) 1.76 KB
-include ../Makefile.config
CUDF = cudf-0.6.3
EXTLIB = extlib-1.5.3
DOSE = dose3-3.1.2
CMDLINER = cmdliner-0.9.3
GRAPH = ocamlgraph-1.8.1
RE = ocaml-re-1.2.0
all: clone depends.ocp
depends.ocp: depends.ocp.boot
cp $< $@
clone: cudf.stamp extlib.stamp ocaml-re.stamp ocamlgraph.stamp dose.stamp cmdliner.stamp
cudf.stamp: $(CUDF).tar.gz
tar xfz $(CUDF).tar.gz
rm -rf cudf
mv $(CUDF) cudf
@touch $@
extlib.stamp: $(EXTLIB).tar.gz
tar xfz $(EXTLIB).tar.gz
rm -rf extlib
mv $(EXTLIB) extlib
@touch $@
@if [ -e dose ]; then \
cd dose; \
git pull; \
else \
git clone --depth 1 git:// dose; \
dose.stamp: $(DOSE).tar.gz
tar xfz $(DOSE).tar.gz
cd $(DOSE) && patch -p1 < ../dose-pcre2re.diff && cd ..
rm -rf dose
mv $(DOSE) dose
@touch $@
cmdliner.stamp: $(CMDLINER).tbz
tar xfj $(CMDLINER).tbz
rm -rf cmdliner
mv $(CMDLINER) cmdliner
@touch $@
ocamlgraph.stamp: $(GRAPH).tar.gz
tar xfz $(GRAPH).tar.gz
rm -rf ocamlgraph
mv $(GRAPH) ocamlgraph
@touch $@
ocaml-re.stamp: $(RE).tar.gz
tar xfz $(RE).tar.gz
mv ocaml-re-$(RE) ocaml-re
@touch $@
rm -rf *~
distclean: clean
rm -rf cudf extlib ocaml-re ocamlgraph dose cmdliner
rm -f depends.ocp
rm -f *.tar.gz *.tbz *.stamp
Jump to Line
Something went wrong with that request. Please try again.