Debian Codegraph @

doc/xml/Makefile

raw
1 # ----------------------------------------------------------------------------
2 # - Makefile -
3 # - afnix xml makefile -
4 # ----------------------------------------------------------------------------
5 # - This program is free software; you can redistribute it and/or modify -
6 # - it provided that this copyright notice is kept intact. -
7 # - -
8 # - This program is distributed in the hope that it will be useful, but -
9 # - without any warranty; without even the implied warranty of -
10 # - merchantability or fitness for a particular purpose. In not event shall -
11 # - the copyright holder be liable for any direct, indirect, incidental or -
12 # - special damages arising in any way out of the use of this software. -
13 # ----------------------------------------------------------------------------
14 # - copyright (c) 1999-2023 amaury darsch -
15 # ----------------------------------------------------------------------------
16
17 TOPDIR = ../..
18 MAKDIR = $(TOPDIR)/cnf/mak
19 CONFFILE = $(MAKDIR)/afnix-conf.mak
20 RULEFILE = $(MAKDIR)/afnix-docs.mak
21 include $(CONFFILE)
22
23 # ----------------------------------------------------------------------------
24 # - project configuration -
25 # ----------------------------------------------------------------------------
26
27 DSTDIR = $(BLDDST)/doc/xml
28
29 # ----------------------------------------------------------------------------
30 # - project rules -
31 # ----------------------------------------------------------------------------
32
33 # rule: all
34 # this rule is the default rule which builds the documentation
35
36 all: doc
37 .PHONY: all
38
39 # include: rule.mak
40 # this rule includes the platform dependant rules
41
42 include $(RULEFILE)
43
44 # rule: doc
45 # this rule prepare the documentation
46
47 doc:
48 @${MAKE} -C eul doc
49 @${MAKE} -C vol doc
50 .PHONY: doc
51
52 # rule: distri
53 # this rule creates the distribution
54
55 distri:
56 @$(MKDIR) $(DSTDIR)
57 @$(CP) Makefile $(DSTDIR)
58 @${MAKE} -C eul distri
59 @${MAKE} -C vol distri
60 .PHONY: distri
61
62 # rule: publish
63 # this rule install the documentation
64
65 publish:
66 @${MAKE} -C eul publish
67 @${MAKE} -C vol publish
68 .PHONY: publish
69
70 # rule: clean
71 # This rule cleans the directories
72
73 clean::
74 @${MAKE} -C eul clean
75 @${MAKE} -C vol clean