blob: 9b5829a0b33c55f27f37170c8e35034d9284a4b0 (
plain) (
blame)
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
|
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= $(UPDATE_LEAP_DB)
sbin_SCRIPTS= $(UPDATE_LEAP_DS)
libexec_SCRIPTS= $(UPDATE_LEAP_DL)
noinst_SCRIPTS= $(UPDATE_LEAP_NI)
EXTRA_SCRIPTS= update-leap
man1_MANS=
man8_MANS=
if INSTALL_UPDATE_LEAP
man_MANS= update-leap.$(UPDATE_LEAP_MS)
else
noinst_MANS= update-leap.$(UPDATE_LEAP_MS)
endif
EXTRA_DIST = \
invoke-update-leap.menu \
invoke-update-leap.texi \
update-leap-opts.def \
update-leap-opts \
update-leap.1update-leapman \
update-leap.1update-leapmdoc \
update-leap.in \
update-leap.man.in \
update-leap.mdoc.in \
update-leap.sh \
update-leap.texi \
update-leap.html \
$(NULL)
html_DATA = update-leap.html
#CLEANFILES = update-leap.1
DISTCLEANFILES = config.log $(man_MANS) $(noinst_MANS)
noinst_DATA = \
invoke-update-leap.menu \
invoke-update-leap.texi \
update-leap.man.in \
update-leap.mdoc.in \
update-leap-opts \
$(NULL)
$(srcdir)/update-leap: $(srcdir)/update-leap-opts
@: do-nothing action to avoid default SCCS get
$(srcdir)/update-leap-opts: update-leap-opts.def $(std_def_list)
$(run_ag) update-leap-opts.def
### Man
$(srcdir)/update-leap.1update-leapman: $(srcdir)/update-leap-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1update-leapman -Tagman-cmd.tpl update-leap-opts.def
$(srcdir)/update-leap.man.in: $(srcdir)/update-leap.1update-leapman $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/update-leap.1update-leapman > $(srcdir)/update-leap.man.in+
mv $(srcdir)/update-leap.man.in+ $(srcdir)/update-leap.man.in
### Mdoc
$(srcdir)/update-leap.1update-leapmdoc: $(srcdir)/update-leap-opts.def $(std_def_list)
$(run_ag) -DMAN_SECTION=1update-leapmdoc -Tagmdoc-cmd.tpl update-leap-opts.def
$(srcdir)/update-leap.mdoc.in: $(srcdir)/update-leap.1update-leapmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/update-leap.1update-leapmdoc > $(srcdir)/update-leap.mdoc.in+
mv $(srcdir)/update-leap.mdoc.in+ $(srcdir)/update-leap.mdoc.in
### Manpage
update-leap.$(UPDATE_LEAP_MS): $(srcdir)/update-leap.$(MANTAGFMT).in $(top_builddir)/config.status
$(top_builddir)/config.status --file=update-leap.$(UPDATE_LEAP_MS)+:$(srcdir)/update-leap.$(MANTAGFMT).in
mv update-leap.$(UPDATE_LEAP_MS)+ update-leap.$(UPDATE_LEAP_MS)
### Texinfo
$(srcdir)/invoke-update-leap.menu: $(srcdir)/invoke-update-leap.texi
@: do-nothing action to avoid default SCCS get, .menu built with .texi
$(srcdir)/invoke-update-leap.texi: $(srcdir)/update-leap-opts.def $(std_def_list)
$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section update-leap-opts.def
$(top_srcdir)/scripts/build/check--help $@
### HTML
$(srcdir)/update-leap.html: $(srcdir)/update-leap.texi $(top_srcdir)/sntp/include/version.texi
cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o update-leap.html update-leap.texi || true )
|