blob: 19300e8cb8805203f6bbf36a22a81eca98a74926 (
plain)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
NULL=
man1_MANS=
man8_MANS=
man_MANS= ntptrace.$(NTPTRACE_MS)
bin_SCRIPTS = $(NTPTRACE_DB)
libexec_SCRIPTS = $(NTPTRACE_DL)
sbin_SCRIPTS = $(NTPTRACE_DS)
run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" PERL5LIB="$(abs_top_srcdir)/scripts/lib" AUTOGEN_DNE_DATE=-D \
autogen -L ../../sntp/include -L ../../sntp/ag-tpl \
--writable
std_def_list = \
$(top_srcdir)/sntp/include/debug-opt.def \
$(top_srcdir)/sntp/include/autogen-version.def \
$(top_srcdir)/sntp/include/copyright.def \
$(top_srcdir)/sntp/include/homerc.def \
$(top_srcdir)/sntp/include/ntp.lic \
$(top_srcdir)/sntp/include/version.def \
$(NULL)
EXTRA_SCRIPTS = ntptrace
EXTRA_DIST = \
ntptrace.1ntptraceman \
ntptrace.1ntptracemdoc \
ntptrace.mdoc.in \
ntptrace.man.in \
ntptrace.texi \
ntptrace.html \
ntptrace-opts.def \
ntptrace-opts \
invoke-ntptrace.texi \
invoke-ntptrace.menu \
$(NULL)
DISTCLEANFILES = config.log $(man_MANS)
html_DATA = $(srcdir)/ntptrace.html
noinst_DATA = \
ntptrace.1ntptraceman \
ntptrace.1ntptracemdoc \
ntptrace.mdoc.in \
ntptrace.man.in \
ntptrace.texi \
ntptrace.html \
ntptrace-opts.def \
ntptrace-opts \
invoke-ntptrace.texi \
invoke-ntptrace.menu \
$(NULL)
ntptrace: $(srcdir)/ntptrace-opts
$(srcdir)/ntptrace-opts: $(srcdir)/ntptrace-opts.def $(std_def_list)
$(run_ag) ntptrace-opts.def
### Nroff
$(srcdir)/ntptrace.1ntptraceman: $(srcdir)/ntptrace-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntptraceman -Tagman-cmd.tpl ntptrace-opts.def
$(srcdir)/ntptrace.man.in: $(srcdir)/ntptrace.1ntptraceman $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntptrace.1ntptraceman > $(srcdir)/ntptrace.man.in+
mv $(srcdir)/ntptrace.man.in+ $(srcdir)/ntptrace.man.in
### Mdoc
$(srcdir)/ntptrace.1ntptracemdoc: $(srcdir)/ntptrace-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntptracemdoc -Tagmdoc-cmd.tpl ntptrace-opts.def
$(srcdir)/ntptrace.mdoc.in: $(srcdir)/ntptrace.1ntptracemdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntptrace.1ntptracemdoc > $(srcdir)/ntptrace.mdoc.in+
mv $(srcdir)/ntptrace.mdoc.in+ $(srcdir)/ntptrace.mdoc.in
### Manpage (local)
ntptrace.$(NTPTRACE_MS): $(srcdir)/ntptrace.$(MANTAGFMT).in $(top_builddir)/config.status
$(top_builddir)/config.status --file=ntptrace.$(NTPTRACE_MS)+:$(srcdir)/ntptrace.$(MANTAGFMT).in
mv ntptrace.$(NTPTRACE_MS)+ ntptrace.$(NTPTRACE_MS)
### Texinfo
$(srcdir)/invoke-ntptrace.menu: $(srcdir)/invoke-ntptrace.texi
@: do-nothing action to avoid default SCCS get, .menu built with .texi
$(srcdir)/invoke-ntptrace.texi: ntptrace-opts $(srcdir)/ntptrace-opts.def $(std_def_list)
$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntptrace-opts.def
$(top_srcdir)/scripts/build/check--help $@
### HTML
$(srcdir)/ntptrace.html: $(srcdir)/invoke-ntptrace.menu $(srcdir)/invoke-ntptrace.texi $(srcdir)/ntptrace.texi $(top_srcdir)/sntp/include/version.texi
cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntptrace.html ntptrace.texi || true )
|