Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (34 sloc) 783 Bytes
-include Makefile.conf
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 examples clean
rm -rf doc
rm -rf stage
distclean: clean
rm -rf Makefile.conf
examples:
make -C examples
.PHONY: examples doc
github:
rsync -a --delete --exclude './' doc/ ../lwt-equeue.gh-pages/doc/