Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ocaml-cairo/Makefile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (21 sloc)
643 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for developers (users use dune exclusively). | |
PKGVERSION = $(shell git describe --always) | |
PACKAGES = $(basename $(wildcard *.opam)) | |
build: | |
dune build @install @examples @tutorial | |
test: | |
dune build @runtest @tests-gtk --force | |
install uninstall: | |
dune $@ | |
doc: build | |
dune build @doc | |
sed -e 's/%%VERSION%%/$(PKGVERSION)/' --in-place \ | |
_build/default/_doc/_html/cairo2/Cairo/index.html | |
tutorial-submit: build doc | |
$(MAKE) -C docs $@ | |
lint: | |
for p in $(PACKAGES); do opam lint $$p.opam; done | |
clean: | |
dune clean | |
$(RM) $(wildcard *~ *.pdf *.ps *.png *.svg) | |
.PHONY: build install uninstall doc submit tutorial-submit lint clean |