File: Makefile.am

package info (click to toggle)
syslog-ng 3.8.1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 47,320 kB
  • ctags: 43,937
  • sloc: ansic: 159,432; yacc: 25,059; sh: 13,574; makefile: 4,669; python: 3,468; java: 3,218; xml: 2,309; perl: 318; lex: 316; awk: 184
file content (55 lines) | stat: -rw-r--r-- 1,483 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
EXTRA_DIST += $(wildcard doc/*.page)

if ENABLE_MAN_PAGES
MAINTAINERCLEANFILES += $(BUILT_MAN_FILES)
BUILT_MAN_FILES = $(patsubst %.page,%.3,$(wildcard doc/mongoc_*.page))
EXTRA_DIST += $(BUILT_MAN_FILES)
CLEANFILES += $(BUILT_MAN_FILES)

dist_man_MANS = $(BUILT_MAN_FILES)
# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
# Unlike with other dist primaries, the files are not distributed if the
# conditional is false.
# Work the bug around until it is fixed:
dist_noinst_DATA = $(dist_man_MANS)

man3_MANS = $(BUILT_MAN_FILES)

%.3: %.page
	@ $(MKDIR_P) doc
	$(AM_V_GEN)./doc/mallard2man.py 3 $^

man-clean:
	rm -f $(BUILT_MAN_FILES)

man: $(BUILT_MAN_FILES)
endif

if ENABLE_HTML_DOCS
html $(YELP_HTML_FILES):
	@ $(MKDIR_P) doc/html
	$(AM_V_GEN)$(YELP_BUILD) html -x build/libbson.xsl -o doc/html $(wildcard $(top_srcdir)/doc/*.page)

html-clean:
	rm -f $(BUILT_HTML_FILES) $(YELP_HTML_FILES)

YELP_HTML_FILES = \
	doc/html/C.css \
	doc/html/jquery.js \
	doc/html/jquery.syntax.brush.clang.js \
	doc/html/jquery.syntax.core.js \
	doc/html/jquery.syntax.js \
	doc/html/jquery.syntax.layout.yelp.js \
	doc/html/yelp-note-tip.png \
	doc/html/yelp-note-warning.png \
	doc/html/yelp-note.png \
	doc/html/yelp.js

BUILT_HTML_FILES = $(patsubst doc/%.page,doc/html/%.html,$(wildcard doc/*.page))
EXTRA_DIST += $(BUILT_HTML_FILES)
EXTRA_DIST += $(YELP_HTML_FILES)
CLEANFILES += $(BUILT_HTML_FILES)
CLEANFILES += $(YELP_HTML_FILES)
endif

dist-hook: man html