Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (33 sloc) 0.703 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
PKGLIST=ojox

all:
mkdir -p stage
for pkg in $(PKGLIST); do \
$(MAKE) -C src/$$pkg all || exit; \
done

doc:
mkdir -p doc
for pkg in $(PKGLIST); do \
$(MAKE) -C src/$$pkg doc || exit; \
done
find . -name '*.odoc' | awk '{print "-load"; print $$1}' | xargs ocamldoc -html -sort -d doc

install:
for pkg in $(PKGLIST); do \
$(MAKE) -C src/$$pkg install || exit; \
done

uninstall:
for pkg in $(PKGLIST); do \
$(MAKE) -C src/$$pkg uninstall || exit; \
done

clean:
for pkg in $(PKGLIST); do \
$(MAKE) -C src/$$pkg clean || exit; \
done
make -C test clean
make -C examples clean
rm -rf doc
rm -rf stage

test:
make -C test

examples:
make -C examples

.PHONY: test examples doc
Something went wrong with that request. Please try again.