Debian Codegraph @

doc/xml/vol/Makefile

raw
1 # ----------------------------------------------------------------------------
2 # - Makefile -
3 # - afnix doc vol 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/vol
28
29 # ----------------------------------------------------------------------------
30 # - project rules -
31 # ----------------------------------------------------------------------------
32
33 # rule: all
34 # this rule is the default rule which does nothing
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 000 doc
49 @${MAKE} -C 001 doc
50 @${MAKE} -C 002 doc
51 .PHONY: doc
52
53 # rule: distri
54 # this rule install the files in the distribution
55
56 distri:
57 @$(MKDIR) $(DSTDIR)
58 @$(CP) Makefile $(DSTDIR)
59 @${MAKE} -C 000 distri
60 @${MAKE} -C 001 distri
61 @${MAKE} -C 002 distri
62 .PHONY: distri
63
64 # rule: publish
65 # this rule install the documentation
66
67 publish:
68 @${MAKE} -C 000 publish
69 @${MAKE} -C 001 publish
70 @${MAKE} -C 002 publish
71 .PHONY: publish
72
73 # rule: clean
74 # This rule cleans the directories
75
76 clean::
77 @${MAKE} -C 000 clean
78 @${MAKE} -C 001 clean
79 @${MAKE} -C 002 clean