-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
113 lines (91 loc) · 3.18 KB
/
Makefile.am
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
NULL=
man1_MANS=
man8_MANS=
man_MANS= ntp-wait.$(NTP_WAIT_MS)
DISTCLEANFILES= config.log $(man_MANS)
run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" \
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 = ntp-wait ntptrace
bin_SCRIPTS = $(NTP_WAIT_DB) $(NTPTRACE_DB)
libexec_SCRIPTS = $(NTP_WAIT_DL) $(NTPTRACE_DL)
sbin_SCRIPTS = $(NTP_WAIT_DS) $(NTPTRACE_DS)
html_DATA= \
$(srcdir)/ntp-wait.html \
$(NULL)
noinst_SCRIPTS = \
calc_tickadj \
checktime \
freq_adj \
html2man \
mkver \
ntpsweep \
ntpver \
plot_summary \
summary \
$(NULL)
noinst_DATA= \
$(srcdir)/invoke-ntp-wait.menu \
$(srcdir)/invoke-ntp-wait.texi \
$(srcdir)/ntp-wait.man.in \
$(srcdir)/ntp-wait.mdoc.in \
$(NULL)
install-data-local: install-html
EXTRA_DIST = \
check--help \
checkChangeLog \
fixautomakedepsmagic \
genCommitLog \
genver \
hpadjtime.sh \
invoke-ntp-wait.menu \
invoke-ntp-wait.texi \
monitoring \
ntp-close \
ntp-groper \
ntp-restart \
ntp-status \
ntp-wait.1ntp-waitman \
ntp-wait.1ntp-waitmdoc \
ntp-wait.man.in \
ntp-wait.mdoc.in \
ntp-wait.html \
ntp-wait.texi \
ntp-wait-opts.def \
rc1 \
rc2 \
stats \
UpdatePoint \
VersionName \
$(NULL)
###
$(srcdir)/ntp-wait.1ntp-waitman: $(srcdir)/ntp-wait-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntp-waitman -Tagman-cmd.tpl ntp-wait-opts.def
$(srcdir)/ntp-wait.man.in: $(srcdir)/ntp-wait.1ntp-waitman $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntp-wait.1ntp-waitman > $(srcdir)/ntp-wait.man.in+
mv $(srcdir)/ntp-wait.man.in+ $(srcdir)/ntp-wait.man.in
###
$(srcdir)/ntp-wait.1ntp-waitmdoc: $(srcdir)/ntp-wait-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntp-waitmdoc -Tagmdoc-cmd.tpl ntp-wait-opts.def
$(srcdir)/ntp-wait.mdoc.in: $(srcdir)/ntp-wait.1ntp-waitmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntp-wait.1ntp-waitmdoc > $(srcdir)/ntp-wait.mdoc.in+
mv $(srcdir)/ntp-wait.mdoc.in+ $(srcdir)/ntp-wait.mdoc.in
###
ntp-wait.$(NTP_WAIT_MS): $(srcdir)/ntp-wait.$(MANTAGFMT).in $(top_builddir)/config.status
$(top_builddir)/config.status --file=ntp-wait.$(NTP_WAIT_MS)+:$(srcdir)/ntp-wait.$(MANTAGFMT).in
mv ntp-wait.$(NTP_WAIT_MS)+ ntp-wait.$(NTP_WAIT_MS)
###
$(srcdir)/invoke-ntp-wait.menu: $(srcdir)/invoke-ntp-wait.texi
@: do-nothing action to avoid default SCCS get, .menu built with .texi
$(srcdir)/invoke-ntp-wait.texi: $(srcdir)/ntp-wait-opts.def $(std_def_list)
$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntp-wait-opts.def
-$(top_srcdir)/../scripts/check--help $@
$(srcdir)/ntp-wait.html: $(srcdir)/invoke-ntp-wait.menu $(srcdir)/invoke-ntp-wait.texi $(srcdir)/ntp-wait.texi $(top_srcdir)/sntp/include/version.texi
cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntp-wait.html ntp-wait.texi || true )