1275970ScyNULL= 2275970Scyrun_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" PERL5LIB="$(abs_top_srcdir)/scripts/lib" AUTOGEN_DNE_DATE=-D \ 3275970Scy autogen -L ../../sntp/include -L ../../sntp/ag-tpl \ 4275970Scy --writable 5275970Scystd_def_list = \ 6275970Scy $(top_srcdir)/sntp/include/debug-opt.def \ 7275970Scy $(top_srcdir)/sntp/include/autogen-version.def \ 8275970Scy $(top_srcdir)/sntp/include/copyright.def \ 9275970Scy $(top_srcdir)/sntp/include/homerc.def \ 10275970Scy $(top_srcdir)/sntp/include/ntp.lic \ 11275970Scy $(top_srcdir)/sntp/include/version.def \ 12275970Scy $(NULL) 13275970Scy 14275970Scybin_SCRIPTS= $(NTPSWEEP_DB) 15275970Scysbin_SCRIPTS= $(NTPSWEEP_DS) 16275970Scylibexec_SCRIPTS= $(NTPSWEEP_DL) 17275970Scynoinst_SCRIPTS= $(NTPSWEEP_NI) 18275970ScyEXTRA_SCRIPTS= ntpsweep 19275970Scy 20275970Scyman1_MANS= 21275970Scyman8_MANS= 22275970Scyif INSTALL_NTPSWEEP 23275970Scyman_MANS= ntpsweep.$(NTPSWEEP_MS) 24275970Scyelse 25275970Scynoinst_MANS= ntpsweep.$(NTPSWEEP_MS) 26275970Scyendif 27275970Scy 28275970ScyEXTRA_DIST = \ 29275970Scy ntpsweep.in \ 30275970Scy ntpsweep.1ntpsweepman \ 31275970Scy ntpsweep.1ntpsweepmdoc \ 32275970Scy ntpsweep.man.in \ 33275970Scy ntpsweep.mdoc.in \ 34275970Scy ntpsweep.texi \ 35275970Scy ntpsweep.html \ 36275970Scy ntpsweep-opts.def \ 37275970Scy ntpsweep-opts \ 38275970Scy invoke-ntpsweep.texi \ 39275970Scy invoke-ntpsweep.menu \ 40275970Scy $(NULL) 41275970Scy 42275970Scyhtml_DATA = ntpsweep.html 43275970Scy 44275970ScyCLEANFILES = ntpsweep.1 45275970ScyDISTCLEANFILES = config.log $(man_MANS) $(noinst_MANS) 46275970Scy 47275970Scynoinst_DATA = \ 48275970Scy ntpsweep.1 \ 49275970Scy ntpsweep.1ntpsweepman \ 50275970Scy ntpsweep.1ntpsweepmdoc \ 51275970Scy ntpsweep.man.in \ 52275970Scy ntpsweep.mdoc.in \ 53275970Scy ntpsweep.texi \ 54275970Scy ntpsweep.html \ 55275970Scy ntpsweep-opts.def \ 56275970Scy ntpsweep-opts \ 57275970Scy invoke-ntpsweep.texi \ 58275970Scy invoke-ntpsweep.menu \ 59275970Scy $(NULL) 60275970Scy 61275970Scyntpsweep: $(srcdir)/ntpsweep-opts 62275970Scy 63275970Scy$(srcdir)/ntpsweep-opts: ntpsweep-opts.def $(std_def_list) 64275970Scy $(run_ag) ntpsweep-opts.def 65275970Scy 66275970Scy### Nroff 67275970Scy 68275970Scy$(srcdir)/ntpsweep.1ntpsweepman: ntpsweep-opts.def $(std_def_list) 69275970Scy $(run_ag) -DMAN_SECTION=1ntpsweepman -Tagman-cmd.tpl ntpsweep-opts.def 70275970Scy 71275970Scy$(srcdir)/ntpsweep.man.in: ntpsweep.1ntpsweepman $(top_srcdir)/sntp/scripts/mansec2subst.sed 72275970Scy sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpsweep.1ntpsweepman > $(srcdir)/ntpsweep.man.in+ 73275970Scy mv $(srcdir)/ntpsweep.man.in+ $(srcdir)/ntpsweep.man.in 74275970Scy 75275970Scy### Mdoc 76275970Scy 77275970Scy$(srcdir)/ntpsweep.1ntpsweepmdoc: ntpsweep-opts.def $(std_def_list) 78275970Scy $(run_ag) -DMAN_SECTION=1ntpsweepmdoc -Tagmdoc-cmd.tpl ntpsweep-opts.def 79275970Scy 80275970Scy$(srcdir)/ntpsweep.mdoc.in: ntpsweep.1ntpsweepmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed 81275970Scy sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpsweep.1ntpsweepmdoc > $(srcdir)/ntpsweep.mdoc.in+ 82275970Scy mv $(srcdir)/ntpsweep.mdoc.in+ $(srcdir)/ntpsweep.mdoc.in 83275970Scy 84275970Scy### Manpage 85275970Scy 86275970Scyntpsweep.1: ntpsweep.$(MANTAGFMT).in $(top_builddir)/config.status 87275970Scy $(top_builddir)/config.status --file=ntpsweep.1+:$(srcdir)/ntpsweep.$(MANTAGFMT).in 88275970Scy mv ntpsweep.1+ ntpsweep.1 89275970Scy 90275970Scy### Texinfo 91275970Scy 92275970Scy$(srcdir)/invoke-ntpsweep.menu: invoke-ntpsweep.texi 93275970Scy @: do-nothing action to avoid default SCCS get, .menu built with .texi 94275970Scy 95275970Scy$(srcdir)/invoke-ntpsweep.texi: ntpsweep-opts ntpsweep-opts.def $(std_def_list) 96275970Scy $(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntpsweep-opts.def 97275970Scy $(top_srcdir)/scripts/build/check--help $@ 98275970Scy 99275970Scy### HTML 100275970Scy 101275970Scy$(srcdir)/ntpsweep.html: invoke-ntpsweep.menu invoke-ntpsweep.texi ntpsweep.texi $(top_srcdir)/sntp/include/version.texi 102275970Scy cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntpsweep.html ntpsweep.texi || true ) 103