From bb08565b91c21e1ffaf0b4b4f0750a52dbb87af2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 7 Jun 2021 21:49:37 +0200 Subject: all SciTECO scripts used during the build process now always write files with Unix linebreaks * when hosted on Windows, the default is DOS linebreaks * Unix linebreaks are in many cases more consistent as all other sources use Unix linebreaks * woman pages with Unix linebreaks are slightly faster to load due to EOL conversion * especially Groff input must not contain CR as it will otherwise log lots of warnings (affects htbl.tes and tedoc.tes). --- bootstrap.am | 26 +++++++++++++------------- doc/grosciteco.tes | 4 ++-- doc/htbl.tes | 2 +- doc/tedoc.tes | 2 +- src/symbols-extract.tes | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bootstrap.am b/bootstrap.am index e4309bc..8e1c318 100644 --- a/bootstrap.am +++ b/bootstrap.am @@ -24,19 +24,19 @@ endif SCITECO_INSTALLED = \ $(bindir)/`echo sciteco | @SED@ '$(transform)'`$(EXEEXT) -SUBST_MACRO = eb$<\e \ - j \ - j \ - j \ - j \ - j \ - j \ - j \ - j \ - j \ - j \ - j \ - ew$@\e +SUBST_MACRO = EB$<\e \ + J \ + J \ + J \ + J \ + J \ + J \ + J \ + J \ + J \ + J \ + J \ + EW$@\e # The SciTECO-based substitutor must not process config.h.in. @top_srcdir@/config.h: ; diff --git a/doc/grosciteco.tes b/doc/grosciteco.tes index 4b1c215..57ebe8d 100755 --- a/doc/grosciteco.tes +++ b/doc/grosciteco.tes @@ -281,13 +281,13 @@ EB J 0U#cs 0U#cd !* * Save the clear-text part of the document into *! -EWQ[output-woman] +2EL EWQ[output-woman] EQ[styles] !* Generate topic index *! J I!*Q[topics]*!^J -EWQ[getopt.t] +2EL EWQ[getopt.t] -EX diff --git a/doc/htbl.tes b/doc/htbl.tes index c3f1ec7..2bc5056 100755 --- a/doc/htbl.tes +++ b/doc/htbl.tes @@ -112,5 +112,5 @@ q.[drows]< I.HTML ^J > -EWQ#ou +2EL EWQ#ou EX \ No newline at end of file diff --git a/doc/tedoc.tes b/doc/tedoc.tes index f89c45f..9c3d413 100755 --- a/doc/tedoc.tes +++ b/doc/tedoc.tes @@ -127,5 +127,5 @@ EJ-1< EF > -EWQ#ou +2EL EWQ#ou EX diff --git a/src/symbols-extract.tes b/src/symbols-extract.tes index 356bdd1..9f43fa6 100755 --- a/src/symbols-extract.tes +++ b/src/symbols-extract.tes @@ -57,6 +57,6 @@ teco_cmdline_cleanup(void) #endif^J !* write output file *! -EWQ#ou +2EL EWQ#ou EX -- cgit v1.2.3