X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FMakefile;h=7652f01cdaa68fdacbc8daff3b127cb40fb026c2;hb=3e426896dde4a23fa67ba9a33811b2784154e0c9;hp=93353048bcee3dfdf3bd6178061abb77c9de43c7;hpb=f1c40004ae349f7cd3a1a5c5c85f62f695196370;p=fw%2Fsdcc diff --git a/doc/Makefile b/doc/Makefile index 93353048..7652f01c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -30,7 +30,7 @@ $(MANUAL).html/index.html: $(MANUAL).tex $(MANUAL).ind ;#$(MANUAL).glo mv $< `basename $< .tex`.orig.tex sed 's,-\\/-,-\\/-\\/-,g' < `basename $< .tex`.orig.tex | \ sed 's,\\tabularnewline$$,\\\\,g' > $< - -latex2html -split 5 -show_section_numbers -local_icons -dir $(MANUAL).html $(MANUAL) + -latex2html -split 5 -show_section_numbers -local_icons -info "" -dir $(MANUAL).html $(MANUAL) mv `basename $< .tex`.orig.tex $< $(TSS).html/index.html: $(TSS).tex @@ -40,7 +40,7 @@ $(TSS).html/index.html: $(TSS).tex mv $< `basename $< .tex`.orig.tex sed 's,-\\/-,-\\/-\\/-,g' < `basename $< .tex`.orig.tex | \ sed 's,\\tabularnewline$$,\\\\,g' > $< - -latex2html -split 0 -local_icons -dir $(TSS).html $(TSS) + -latex2html -split 0 -local_icons -info "" -dir $(TSS).html $(TSS) mv `basename $< .tex`.orig.tex $< $(CDB).html/index.html: $(CDB).tex @@ -50,7 +50,7 @@ $(CDB).html/index.html: $(CDB).tex mv $< `basename $< .tex`.orig.tex sed 's,-\\/-,-\\/-\\/-,g' < `basename $< .tex`.orig.tex | \ sed 's,\\tabularnewline$$,\\\\,g' > $< - -latex2html -split 0 -show_section_numbers -local_icons -dir $(CDB).html $(CDB) + -latex2html -split 0 -show_section_numbers -local_icons -info "" -dir $(CDB).html $(CDB) mv `basename $< .tex`.orig.tex $< %.txt: %.lyx @@ -81,4 +81,21 @@ $(CDB).html/index.html: $(CDB).tex # the glossary, not implemented yet # makeindex -s l2hglo.ist -o $@ $< +archive: all + rm -rf sdcc-doc sdcc-doc.tar.bz2 + mkdir sdcc-doc + rsync -rCt avr z80 *.pdf *.txt sdcc-doc + + for doc in $(MANUAL) $(TSS) $(CDB); do \ + rsync -Rt $$doc.html/*.html $$doc.html/*.png $$doc.html/*.css sdcc-doc/; \ + done + + mkdir sdcc-doc/as + rsync -rCt ../as/doc/* sdcc-doc/as/ + + mkdir sdcc-doc/ucsim + cd ../sim/ucsim/doc; rsync *.html *.jpg *.gif *.fig ../../../doc/sdcc-doc/ucsim/ + + tar -c sdcc-doc | bzip2 -9 > sdcc-doc.tar.bz2 + include clean.mk