blob: 7ecc23bd5abd3eabdc5c7e3265a98869ae80f4da (
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
96
97
98
99
100
101
102
|
NULL=
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)
bin_SCRIPTS= $(NTPSWEEP_DB)
sbin_SCRIPTS= $(NTPSWEEP_DS)
libexec_SCRIPTS= $(NTPSWEEP_DL)
noinst_SCRIPTS= $(NTPSWEEP_NI)
EXTRA_SCRIPTS= ntpsweep
man1_MANS=
man8_MANS=
if INSTALL_NTPSWEEP
man_MANS= ntpsweep.$(NTPSWEEP_MS)
else
noinst_MANS= ntpsweep.$(NTPSWEEP_MS)
endif
EXTRA_DIST = \
ntpsweep.in \
ntpsweep.1ntpsweepman \
ntpsweep.1ntpsweepmdoc \
ntpsweep.man.in \
ntpsweep.mdoc.in \
ntpsweep.texi \
ntpsweep.html \
ntpsweep-opts.def \
ntpsweep-opts \
invoke-ntpsweep.texi \
invoke-ntpsweep.menu \
$(NULL)
html_DATA = ntpsweep.html
CLEANFILES = ntpsweep.1
DISTCLEANFILES = config.log $(man_MANS) $(noinst_MANS)
noinst_DATA = \
ntpsweep.1 \
ntpsweep.1ntpsweepman \
ntpsweep.1ntpsweepmdoc \
ntpsweep.man.in \
ntpsweep.mdoc.in \
ntpsweep.texi \
ntpsweep.html \
ntpsweep-opts.def \
ntpsweep-opts \
invoke-ntpsweep.texi \
invoke-ntpsweep.menu \
$(NULL)
ntpsweep: $(srcdir)/ntpsweep-opts
$(srcdir)/ntpsweep-opts: ntpsweep-opts.def $(std_def_list)
$(run_ag) ntpsweep-opts.def
### Nroff
$(srcdir)/ntpsweep.1ntpsweepman: ntpsweep-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntpsweepman -Tagman-cmd.tpl ntpsweep-opts.def
$(srcdir)/ntpsweep.man.in: ntpsweep.1ntpsweepman $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpsweep.1ntpsweepman > $(srcdir)/ntpsweep.man.in+
mv $(srcdir)/ntpsweep.man.in+ $(srcdir)/ntpsweep.man.in
### Mdoc
$(srcdir)/ntpsweep.1ntpsweepmdoc: ntpsweep-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1ntpsweepmdoc -Tagmdoc-cmd.tpl ntpsweep-opts.def
$(srcdir)/ntpsweep.mdoc.in: ntpsweep.1ntpsweepmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpsweep.1ntpsweepmdoc > $(srcdir)/ntpsweep.mdoc.in+
mv $(srcdir)/ntpsweep.mdoc.in+ $(srcdir)/ntpsweep.mdoc.in
### Manpage
ntpsweep.1: ntpsweep.$(MANTAGFMT).in $(top_builddir)/config.status
$(top_builddir)/config.status --file=ntpsweep.1+:$(srcdir)/ntpsweep.$(MANTAGFMT).in
mv ntpsweep.1+ ntpsweep.1
### Texinfo
$(srcdir)/invoke-ntpsweep.menu: invoke-ntpsweep.texi
@: do-nothing action to avoid default SCCS get, .menu built with .texi
$(srcdir)/invoke-ntpsweep.texi: ntpsweep-opts ntpsweep-opts.def $(std_def_list)
$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntpsweep-opts.def
$(top_srcdir)/scripts/build/check--help $@
### HTML
$(srcdir)/ntpsweep.html: invoke-ntpsweep.menu invoke-ntpsweep.texi ntpsweep.texi $(top_srcdir)/sntp/include/version.texi
cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntpsweep.html ntpsweep.texi || true )
|