1 1.1 christos NULL= 2 1.1 christos 3 1.1 christos bin_SCRIPTS = $(NTP_WAIT_DB) 4 1.1 christos libexec_SCRIPTS = $(NTP_WAIT_DL) 5 1.1 christos sbin_SCRIPTS = $(NTP_WAIT_DS) 6 1.1 christos 7 1.1.1.2 christos man1_MANS= 8 1.1.1.2 christos man8_MANS= 9 1.1 christos man_MANS= ntp-wait.$(NTP_WAIT_MS) 10 1.1 christos 11 1.1.1.2 christos run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" PERL5LIB="$(abs_top_srcdir)/scripts/lib" AUTOGEN_DNE_DATE=-D \ 12 1.1 christos autogen -L ../../sntp/include -L ../../sntp/ag-tpl \ 13 1.1 christos --writable 14 1.1.1.2 christos std_def_list = \ 15 1.1.1.2 christos $(top_srcdir)/sntp/include/debug-opt.def \ 16 1.1.1.2 christos $(top_srcdir)/sntp/include/autogen-version.def \ 17 1.1.1.2 christos $(top_srcdir)/sntp/include/copyright.def \ 18 1.1.1.2 christos $(top_srcdir)/sntp/include/homerc.def \ 19 1.1.1.2 christos $(top_srcdir)/sntp/include/ntp.lic \ 20 1.1.1.2 christos $(top_srcdir)/sntp/include/version.def \ 21 1.1.1.2 christos $(NULL) 22 1.1 christos 23 1.1 christos EXTRA_SCRIPTS = ntp-wait 24 1.1 christos 25 1.1.1.2 christos DISTCLEANFILES = config.log $(man_MANS) 26 1.1 christos EXTRA_DIST = \ 27 1.1 christos ntp-wait.in \ 28 1.1 christos ntp-wait.1ntp-waitman \ 29 1.1 christos ntp-wait.1ntp-waitmdoc \ 30 1.1 christos ntp-wait.man.in \ 31 1.1 christos ntp-wait.mdoc.in \ 32 1.1 christos ntp-wait.texi \ 33 1.1 christos ntp-wait.html \ 34 1.1 christos ntp-wait-opts.def \ 35 1.1 christos ntp-wait-opts \ 36 1.1 christos invoke-ntp-wait.texi \ 37 1.1 christos invoke-ntp-wait.menu \ 38 1.1 christos $(NULL) 39 1.1 christos 40 1.1 christos html_DATA = $(srcdir)/ntp-wait.html 41 1.1 christos 42 1.1 christos noinst_DATA = \ 43 1.1 christos ntp-wait.1ntp-waitman \ 44 1.1 christos ntp-wait.1ntp-waitmdoc \ 45 1.1 christos ntp-wait.man.in \ 46 1.1 christos ntp-wait.mdoc.in \ 47 1.1 christos ntp-wait.texi \ 48 1.1 christos ntp-wait.html \ 49 1.1 christos ntp-wait-opts.def \ 50 1.1 christos ntp-wait-opts \ 51 1.1 christos invoke-ntp-wait.texi \ 52 1.1 christos invoke-ntp-wait.menu \ 53 1.1 christos $(NULL) 54 1.1 christos 55 1.1 christos ntp-wait: $(srcdir)/ntp-wait-opts 56 1.1 christos 57 1.1.1.2 christos $(srcdir)/ntp-wait-opts: $(srcdir)/ntp-wait-opts.def $(std_def_list) 58 1.1.1.3 christos $(AM_V_GEN)$(run_ag) ntp-wait-opts.def 59 1.1 christos 60 1.1 christos ### Nroff 61 1.1 christos 62 1.1 christos $(srcdir)/ntp-wait.1ntp-waitman: $(srcdir)/ntp-wait-opts.def $(std_def_list) 63 1.1.1.3 christos $(AM_V_GEN)$(run_ag) -DMAN_SECTION=1ntp-waitman -Tagman-cmd.tpl ntp-wait-opts.def 64 1.1 christos 65 1.1 christos $(srcdir)/ntp-wait.man.in: $(srcdir)/ntp-wait.1ntp-waitman $(top_srcdir)/sntp/scripts/mansec2subst.sed 66 1.1 christos sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntp-wait.1ntp-waitman > $(srcdir)/ntp-wait.man.in+ 67 1.1 christos mv $(srcdir)/ntp-wait.man.in+ $(srcdir)/ntp-wait.man.in 68 1.1 christos 69 1.1 christos ### Mdoc 70 1.1 christos 71 1.1 christos $(srcdir)/ntp-wait.1ntp-waitmdoc: $(srcdir)/ntp-wait-opts.def $(std_def_list) 72 1.1.1.3 christos $(AM_V_GEN)$(run_ag) -DMAN_SECTION=1ntp-waitmdoc -Tagmdoc-cmd.tpl ntp-wait-opts.def 73 1.1 christos 74 1.1 christos $(srcdir)/ntp-wait.mdoc.in: $(srcdir)/ntp-wait.1ntp-waitmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed 75 1.1 christos sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntp-wait.1ntp-waitmdoc > $(srcdir)/ntp-wait.mdoc.in+ 76 1.1 christos mv $(srcdir)/ntp-wait.mdoc.in+ $(srcdir)/ntp-wait.mdoc.in 77 1.1 christos 78 1.1 christos ### Manpage 79 1.1 christos 80 1.1 christos ntp-wait.$(NTP_WAIT_MS): $(srcdir)/ntp-wait.$(MANTAGFMT).in $(top_builddir)/config.status 81 1.1 christos $(top_builddir)/config.status --file=ntp-wait.$(NTP_WAIT_MS)+:$(srcdir)/ntp-wait.$(MANTAGFMT).in 82 1.1 christos mv ntp-wait.$(NTP_WAIT_MS)+ ntp-wait.$(NTP_WAIT_MS) 83 1.1 christos 84 1.1 christos ### Texinfo 85 1.1 christos 86 1.1 christos $(srcdir)/invoke-ntp-wait.menu: $(srcdir)/invoke-ntp-wait.texi 87 1.1 christos @: do-nothing action to avoid default SCCS get, .menu built with .texi 88 1.1 christos 89 1.1 christos $(srcdir)/invoke-ntp-wait.texi: ntp-wait-opts $(srcdir)/ntp-wait-opts.def $(std_def_list) 90 1.1.1.3 christos $(AM_V_GEN)$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntp-wait-opts.def 91 1.1 christos $(top_srcdir)/scripts/build/check--help $@ 92 1.1 christos 93 1.1 christos ### HTML 94 1.1 christos 95 1.1.1.3 christos $(srcdir)/ntp-wait.html: $(srcdir)/invoke-ntp-wait.texi $(srcdir)/ntp-wait.texi $(top_srcdir)/sntp/include/version.texi 96 1.1 christos cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntp-wait.html ntp-wait.texi || true ) 97