File: Makefile.am

package info (click to toggle)
apophenia 0.999b%2Bds3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,892 kB
  • ctags: 1,840
  • sloc: ansic: 20,530; makefile: 346; sh: 230; awk: 135; sed: 26
file content (72 lines) | stat: -rw-r--r-- 1,499 bytes parent folder | download
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

#The Doxygen documentation, which you'll have to call yourself (via make doc).

default:

## adhoc
html man: doc

apophenia_CSOURCES = \
	$(top_srcdir)/model/*.c \
	$(top_srcdir)/transform/*.c
	echo #$(wildcard $(top_srcdir)/model/*.c) \
	echo #$(wildcard $(top_srcdir)/transform/*.c)

apophenia_IMAGES = \
	flake.gif \
	search.gif \
	right.png \
	down.png

apophenia_IMAGES_EXTRA = \
	triangle.png \
	model.png

apophenia_JS = \
	tree.js

model_doc.h: $(apophenia_CSOURCES)
	cat $^ | awk -f make_model_doc.awk > $@

doc: documentation.h model_doc.h $(apophenia_IMAGES) $(apophenia_JS)
	doxygen doxygen.conf
	cp $(apophenia_IMAGES) $(apophenia_JS) html/
	cp $(top_srcdir)/debian/adhoc/images/structs.png html/
	sed -i -f edit_outline.sed html/index.html html/outline.html
	sed -i -f edit_globals.sed html/globals.html
	sed -i -f edit_group.sed html/group__models.html
	sed -i -f edit_width.sed html/*.html
	rdfind -outputname /dev/null -makesymlinks true html
	symlinks -r -c -s -v html

doc-clean:
	-rm -rf html latex man

CLEANFILES = \
	missing_model_parts

MAINTAINERCLEANFILES = \
	model_doc.h \
	doxygen.log

maintainer-clean-local: doc-clean

EXTRA_DIST = \
	make_model_doc.awk \
	$(apophenia_IMAGES) \
	$(apophenia_IMAGES_EXTRA) \
	$(apophenia_JS) \
	edit_outline.sed edit_globals.sed edit_group.sed edit_width.sed \
	apop_data_fig.html head.html foot.html \
	typical.css \
	documentation.h


if MAINTAINER_MODE

DISTCLEANFILES = $(MAINTAINERCLEANFILES)

distclean-local: doc-clean

endif