PWD_COMMAND=$${PWDCMD-pwd}MAKEINFO=makeinfoINC=../../../gcc/doc/includeall: documentation.html \faq/index.txt \17_intro/confdeps.png \17_intro/porting.html \17_intro/porting-howto.html# chock full of GNUism, probablydocumentation.html: $(wildcard */howto.html)sed -n '1,/beginlist/p' $@ > tmp.topsed -n '/endlist/,$$p' $@ > tmp.bottomecho ' <ul>' > tmp.middlefor i in [0-9]*/howto.html; do \title=`grep 'h1 ' $$i |\sed 's=.*\(Chapter [[:digit:]]*\):[[:space:]]*\(.*\)</a>.*=\2 (\1)='` ;\awk -v file=$$i -v "title=$$title" -f makedoc.awk $$i >> tmp.middle ;\doneawk -v file=ext/howto.html -v "title=Extensions to the Standard Library"\-f makedoc.awk ext/howto.html >> tmp.middle ;\echo ' </ul>' >> tmp.middlecat tmp.top tmp.middle tmp.bottom > $@rm tmp.top tmp.middle tmp.bottomfaq/index.txt: faq/index.htmllynx -dump $< | sed "s%file://localhost`${PWD_COMMAND}`%..%" > $@17_intro/porting.html: 17_intro/porting.texi${MAKEINFO} -I ${INC} --html --no-split $< -o $@# known to work under RH; this can be cleaned up later if needed17_intro/porting-howto.html: 17_intro/porting-howto.xmlxltproc -o $@ /usr/share/xml/docbook/xsl-stylesheets-1.48-2/html/docbook.xsl $<17_intro/confdeps.png: 17_intro/confdeps.dotdot -Tpng -o $@ $<# vim:noet ts=4