| 1 |
################################################################################ |
| 2 |
# ocamlify: include files in OCaml code # |
| 3 |
# # |
| 4 |
# Copyright (C) 2009-2010, OCamlCore SARL # |
| 5 |
# # |
| 6 |
# This library is free software; you can redistribute it and/or modify it # |
| 7 |
# under the terms of the GNU Lesser General Public License as published by # |
| 8 |
# the Free Software Foundation; either version 2.1 of the License, or (at # |
| 9 |
# your option) any later version, with the OCaml static compilation # |
| 10 |
# exception. # |
| 11 |
# # |
| 12 |
# This library is distributed in the hope that it will be useful, but # |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # |
| 14 |
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more # |
| 15 |
# details. # |
| 16 |
# # |
| 17 |
# You should have received a copy of the GNU Lesser General Public License # |
| 18 |
# along with this library; if not, write to the Free Software Foundation, # |
| 19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # |
| 20 |
################################################################################ |
| 21 |
|
| 22 |
# OASIS_START |
| 23 |
# DO NOT EDIT (digest: bc1e05bfc8b39b664f29dae8dbd3ebbb) |
| 24 |
|
| 25 |
SETUP = ocaml setup.ml |
| 26 |
|
| 27 |
build: setup.data |
| 28 |
$(SETUP) -build $(BUILDFLAGS) |
| 29 |
|
| 30 |
doc: setup.data build |
| 31 |
$(SETUP) -doc $(DOCFLAGS) |
| 32 |
|
| 33 |
test: setup.data build |
| 34 |
$(SETUP) -test $(TESTFLAGS) |
| 35 |
|
| 36 |
all: |
| 37 |
$(SETUP) -all $(ALLFLAGS) |
| 38 |
|
| 39 |
install: setup.data |
| 40 |
$(SETUP) -install $(INSTALLFLAGS) |
| 41 |
|
| 42 |
uninstall: setup.data |
| 43 |
$(SETUP) -uninstall $(UNINSTALLFLAGS) |
| 44 |
|
| 45 |
reinstall: setup.data |
| 46 |
$(SETUP) -reinstall $(REINSTALLFLAGS) |
| 47 |
|
| 48 |
clean: |
| 49 |
$(SETUP) -clean $(CLEANFLAGS) |
| 50 |
|
| 51 |
distclean: |
| 52 |
$(SETUP) -distclean $(DISTCLEANFLAGS) |
| 53 |
|
| 54 |
setup.data: |
| 55 |
$(SETUP) -configure $(CONFIGUREFLAGS) |
| 56 |
|
| 57 |
.PHONY: build doc test all install uninstall reinstall clean distclean configure |
| 58 |
|
| 59 |
# OASIS_STOP |
| 60 |
|
| 61 |
headache: |
| 62 |
find ./ -name _darcs -prune -false -o -name _build -prune \ |
| 63 |
-false -o -type f \ |
| 64 |
| xargs headache -h _header -c _headache.config |
| 65 |
|
| 66 |
.PHONY: headache |
| 67 |
|
| 68 |
deploy: |
| 69 |
admin-gallu-deploy --verbose \ |
| 70 |
--forge_upload --forge_group ocamlify --forge_user gildor-admin |
| 71 |
|
| 72 |
.PHONY: deploy |
| 73 |
|