~hww3/caudium

ref: 93d5a75fba08db71b832716377276978cdd7888d caudium/autodoc/Makefile.in -rw-r--r-- 1.7 KiB
93d5a75fWilliam Welliver storage: method "None" was missing stop function. should fix error on shutdown 1 year, 1 month ago
                                                                                
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
#
# makefile for generating documentation from the Caudium sources
#
# $Id$
#

PIKE=@PIKE_BIN@
HACKS=base_server/caudium.pike

all: crefhtml

crefhtml: do_hacks make_crefhtml undo_hacks

do_hacks:
	@for h in $(HACKS); do \
		cp -p ../server/$$h ../server/$$h.orig ; \
		sed -e 's#@PIKEPARSER_HACK_START@\*/# #g' -e 's#/\*@PIKEPARSER_HACK_END@# #g' < ../server/$$h.orig > ../server/$$h ; \
	done

undo_hacks:
	@for h in $(HACKS); do \
		mv ../server/$$h.orig ../server/$$h ; \
	done

make_crefhtml: makecrefdirs makecrefxml
	rm -rf generated/caudiumref || /bin/true
	mkdir -p generated/caudiumref
	cp -p structure/caudiumref.css generated/caudiumref/style.css
	cp -pr structure/images/ generated/caudiumref/
	$(PIKE) bin/tree-split-autodoc.pike build/cref.xml structure/caudiumref.html generated/caudiumref/

makecrefxml: makeautodoc structure/caudiumref.xml
	$(PIKE) -x assemble_autodoc structure/caudiumref.xml build/autodoc.xml > build/cref.xml

makeautodoc: makeserver makeetc
	$(PIKE) -x join_autodoc --post-process build/autodoc.xml build/server.xml build/etc.xml

makeserver:
	$(PIKE) -x extract_autodoc ../server/base_server/ src_images/ build/server/ build/images/
	$(PIKE) -x join_autodoc build/server.xml build/server/

makeetc:
	$(PIKE) -x extract_autodoc ../server/etc/ src_images/ build/etc/ build/images/
	$(PIKE) -x join_autodoc build/etc.xml build/etc/

makecrefdirs:
	@install -d -m 755 build/server/
	@install -d -m 755 build/etc/

spotless:
	@for f in `cat .cvsignore`; do \
		rm -rf $$f; \
	done
	@for f in `cat bin/.deleteus`; do \
		rm -f bin/$$f; \
	done
	@rm -f bin/.deleteus
	@rm -rf build/server/
	@rm -rf build/etc/
	@rm -rf build/*.xml
	@rm -rf generated/caudiumref