Add myself to uploaders
[pkg-ocaml-ocsigen.git] / Makefile.ocamlbuild
blobca7572df03ed33518998644f747d03230a528925
1 # Ocsigen
2 # http://www.ocsigen.org/
3 # Makefile
4 # Copyright (C) 2009 Stéphane Glondu
5 # Laboratoire PPS - CNRS Université Paris Diderot
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as
9 # published by the Free Software Foundation, with linking exception;
10 # either version 2.1 of the License, or (at your option) any later
11 # version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 # 02111-1307, USA.
23 OCAMLBUILD := ocamlbuild
24 MYOCAMLFIND := _build/myocamlfind.byte
25 SERVER_TARGETS := server.otarget
27 all: ocamlbuild
29 ocamlbuild: $(MYOCAMLFIND)
30         $(OCAMLBUILD) $(SERVER_TARGETS)
32 $(MYOCAMLFIND):
33         $(OCAMLBUILD) -no-plugin $(subst _build/,,$@)
35 clean:
36         rm -Rf _build
38 .PHONY: all ocamlbuild clean