
PWD_COMMAND=$${PWDCMD-pwd}
MAKEINFO=makeinfo
INC=../../../gcc/doc/include

all: documentation.html                  \
     faq/index.txt                       \
     17_intro/confdeps.png               \
     17_intro/porting.html               \
     17_intro/porting-howto.html

# chock full of GNUism, probably
documentation.html: $(wildcard */howto.html)
	sed -n '1,/beginlist/p' $@ > tmp.top
	sed -n '/endlist/,$$p' $@ > tmp.bottom
	echo '  <ul>' > tmp.middle
	for i in [0-9]r (3.4)</th>
    <th>Header (3.4)</th>
    <th>Allocator (3.[0-3])</th>
    <th>Header (3.[0-3])</th>
  </tr>
  <tr>
    <td>__gnu_cxx::new_allocator&lt;T&gt;</td>
    <td>&lt;ext/new_allocator.h&gt;</td>
    <td>std::__new_alloc</td>
    <td>&lt;memory&gt;</td>
  </tr>
  <tr>
    <td>__gnu_cxx::malloc_allocator&lt;T&gt;</td>
    <td>&lt;ext/malloc_allocator.h&gt;</td>
    <td>std::__malloc_alloc_template&lt;int&gt;</td>
    <td>&lt;memory&gt;</td>
  </tr>
  <tr>
    <td>__gnu_cxx::debug_allocator&lt;T&gt;</td>
    <td>&lt;ext/debug_allocator.h&gt;</td>
    <td>std::debug_alloc&lt;T&gt;</td>
    <td>&lt;memory&gt;</td>
  </tr>
  <tr>
    <td>__gnu_cxx::__pool_alloc&lt;bool, int&gt;</td>
    <td>&lt;ext/pool_allocator.h&gt;</td>
    <td>std::__default_alloc_template&lt;bool,int&gt;</td>
    <td>&lt;memory&gt;</td>
  </tr>
  <tr>
    <td>__gnu_cxx::__mt_alloc&lt;T&gt;</td>
    <td>&lt;ext/mt_allocator