]> git.gag.com Git - fw/sdcc/commitdiff
a small hack to fix the double dash --problem
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 11 Feb 2003 09:30:50 +0000 (09:30 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 11 Feb 2003 09:30:50 +0000 (09:30 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2247 4a8a32a2-be11-0410-ad9d-d568d2c75423

doc/Makefile
doc/sdccman.lyx

index 751d872446be0f37fcf8bfc5839eabe83bcfb360..f3f765d2d67db3e3f5e9ad19f40ef1478c580c60 100644 (file)
@@ -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 $*
index 45a0ff2c6df8776a547868e2addea4a58365e2c8..509b48a6f8928b26f8dbede867708c16d2f611a2 100644 (file)
 \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