-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
113 lines (87 loc) · 3.43 KB
/
Makefile
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#################################################################################
# OCaml-RDF #
# #
# Copyright (C) 2012-2013 Institut National de Recherche en Informatique #
# et en Automatique. All rights reserved. #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU Lesser General Public License version #
# 3 as published by the Free Software Foundation. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA #
# 02111-1307 USA #
# #
# Contact: [email protected] #
# #
#################################################################################
include master.Makefile
# Compilation
#############
all: src
src: dummy
cd src && $(MAKE) all
re : depend clean all
# Documentation :
#################
doc: dummy
cd src && $(MAKE) doc
# myself
master.Makefile: master.Makefile.in config.status src/rdf_config.ml.in
./config.status
config.status: configure
./config.status --recheck
configure: configure.in
autoconf
# backup, clean and depend :
############################
distclean: clean
cd src && $(MAKE) distclean
$(RM) config.cache config.log config.status master.Makefile \
src/rdf_config.ml src/META
clean:: dummy
$(RM) *~ \#*\#
cd src && $(MAKE) clean
depend: dummy
cd src && $(MAKE) depend
dummy:
###########
# Headers
###########
HEADFILES=configure.in configure \
master.Makefile.in Makefile src/Makefile web/Makefile src/tools/Makefile \
checkocaml.ml \
src/*.ml src/*.mli src/*.mly src/*.mll src/rdf_config.ml.in \
src/tools/*.ml
headers: dummy
headache -h header -c ~/.headache_config $(HEADFILES)
noheaders: dummy
headache -r -c ~/.headache_config $(HEADFILES)
#################
# installation
#################
install: dummy
cd src && $(MAKE) install
uninstall: dummy
cd src && $(MAKE) uninstall
###########
# web site
###########
#[email protected]:/home/groups/ocaml-rdf/htdocs/
#installweb:
# scp -r web/index.html web/style.css src/ocamldoc $(WEBDEST)
###########
# archive
###########
archive:
git archive --prefix=ocaml-rdf-$(VERSION)/ HEAD | gzip > ../ocaml-rdf-pages/ocaml-rdf-$(VERSION).tar.gz
###########################
# additional dependencies
###########################
# DO NOT DELETE