OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libstdc++-v3/] [docs/] [html/] [Makefile] - Blame information for rev 20

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 20 jlechner
 
2
PWD_COMMAND=$${PWDCMD-pwd}
3
MAKEINFO=makeinfo
4
INC=../../../gcc/doc/include
5
 
6
all: documentation.html                  \
7
     faq/index.txt                       \
8
     17_intro/confdeps.png               \
9
     17_intro/porting.html               \
10
     17_intro/porting-howto.html
11
 
12
# chock full of GNUism, probably
13
documentation.html: $(wildcard */howto.html)
14
        sed -n '1,/beginlist/p' $@ > tmp.top
15
        sed -n '/endlist/,$$p' $@ > tmp.bottom
16
        echo '  
    ' > tmp.middle
17
        for i in [0-9]*/howto.html; do \
18
          title=`grep 'h1 ' $$i |\
19
          sed 's=.*\(Chapter [[:digit:]]*\):[[:space:]]*\(.*\).*=\2 (\1)='` ;\
20
          awk -v file=$$i -v "title=$$title" -f makedoc.awk $$i >> tmp.middle ;\
21
        done
22
        awk -v file=ext/howto.html -v "title=Extensions to the Standard Library"\
23
          -f makedoc.awk ext/howto.html >> tmp.middle ;\
24
        echo '  ' >> tmp.middle
25
        cat tmp.top tmp.middle tmp.bottom > $@
26
        rm tmp.top tmp.middle tmp.bottom
27
 
28
faq/index.txt: faq/index.html
29
        lynx -dump $< | sed "s%file://localhost`${PWD_COMMAND}`%..%" > $@
30
 
31
17_intro/porting.html: 17_intro/porting.texi
32
        ${MAKEINFO} -I ${INC} --html --no-split $< -o $@
33
 
34
# known to work under RH; this can be cleaned up later if needed
35
17_intro/porting-howto.html: 17_intro/porting-howto.xml
36
        xltproc -o $@ /usr/share/xml/docbook/xsl-stylesheets-1.48-2/html/docbook.xsl $<
37
 
38
17_intro/confdeps.png: 17_intro/confdeps.dot
39
        dot -Tpng -o $@ $<
40
 
41
# vim:noet ts=4

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.