From fe5b5514040017ac81f5f4ae6e3e4819608a86a7 Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 11 Feb 2003 09:30:50 +0000 Subject: [PATCH] a small hack to fix the double dash --problem git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2247 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- doc/Makefile | 2 ++ doc/sdccman.lyx | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 751d8724..f3f765d2 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -27,6 +27,8 @@ $(TSS).html: $(TSS).tex %.txt: %.lyx lyx -e text $< + sed s/---/--/ $@ > $*.tmp + mv $*.tmp $@ %.pdf: %.tex %.dvi which pdflatex > /dev/null && pdflatex $* || dvipdf $* diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 45a0ff2c..509b48a6 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -24,6 +24,11 @@ \papersides 1 \paperpagestyle fancy +\layout Comment + +Please note: double dashed options (e.g. + --version) need three dashes in this document to be visable in html and + pdf output. \layout Title SDCC Compiler User Guide @@ -391,8 +396,8 @@ SDCCHOME)/include \newline - /usr/local/share/sdcc/include (gcc builds) \newline -- path(arv[0])/../include and then /sdcc/include (windoze msvc and borland - builds) +- path(arv[0])/../include and then /sdcc/include (as a last resort for windoze + msvc and borland builds) \layout Enumerate Library files (the @@ -446,7 +451,7 @@ model \shape italic model \shape default - (windoze msvc and borland builds) + (as a last resort for windoze msvc and borland builds) \layout Enumerate Documentation (although never really searched for, you have to do that yourself @@ -5571,10 +5576,11 @@ none. \layout Itemize NOIV - Do not generate interrupt vector table entries for all ISR functions - defined after the pragma. This is useful in cases where the interrupt - vector table must be defined manually, or when there is a secondary, manually - defined interrupt vector table (e.g. for the autovector feature of the Cypress - EZ-USB FX2). + defined after the pragma. + This is useful in cases where the interrupt vector table must be defined + manually, or when there is a secondary, manually defined interrupt vector + table (e.g. + for the autovector feature of the Cypress EZ-USB FX2). \layout Itemize CALLEE-SAVES function1[,function2[,function3...]] - The compiler by default -- 2.47.2