doc/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Sat, 15 Mar 2008 21:07:24 +0100
changeset 80 15968e25ca08
parent 56 9597aa501c7c
child 146 4b42aa24ce12
child 153 976a014b3797
permissions -rw-r--r--
Overall clean-up in maps.h

- Rename some map types:
* IntegerMap -> RangeMap
* StdMap -> SparseMap
* FunctorMap -> FunctorToMap
* MapFunctor -> MapToFunctor
* ForkWriteMap -> ForkMap
* SimpleMap -> WrapMap
* SimpleWriteMap -> WrapWriteMap
- Remove the read-only ForkMap version.
- Rename map-creator functions for the read-write arithmetic and
logical maps.
- Small fixes and improvements in the code.
- Fix the typedefs of RangeMap to work correctly with bool type, too.
- Rename template parameters, function parameters, and private members
in many classes to be uniform and to avoid parameter names starting
with underscore.
- Use Key and Value types instead of K and V template parameters in
public functions.
- Extend the documentation with examples (e.g. for basic arithmetic and
logical maps).
- Many doc improvements.
- Reorder the classes.
- StoreBoolMap, BackInserterBoolMap, FrontInserterBoolMap,
InserterBoolMap, FillBoolMap, SettingOrderBoolMap are almost unchanged,
since they will be removed.
- Also improve maps_test.cc to correctly check every map class, every
constructor, and every creator function.
     1 EXTRA_DIST += \
     2 	doc/Makefile \
     3 	doc/Doxyfile.in \
     4 	doc/coding_style.dox \
     5 	doc/dirs.dox \
     6 	doc/groups.dox \
     7 	doc/license.dox \
     8 	doc/mainpage.dox \
     9 	doc/namespaces.dox \
    10 	doc/html
    11 
    12 doc/html:
    13 	$(MAKE) $(AM_MAKEFLAGS) html
    14 
    15 html-local:
    16 	if test ${doxygen_found} = yes; then \
    17 	  cd doc; \
    18 	  doxygen Doxyfile; \
    19 	  cd ..; \
    20 	else \
    21 	  echo; \
    22 	  echo "Doxygen not found."; \
    23 	  echo; \
    24 	  exit 1; \
    25 	fi
    26 
    27 clean-local:
    28 	-rm -rf doc/html
    29 	-rm -f doc/doxygen.log
    30 
    31 update-external-tags:
    32 	wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
    33 	mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
    34 	rm doc/libstdc++.tag.tmp
    35 
    36 install-html-local: doc/html
    37 	@$(NORMAL_INSTALL)
    38 	$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
    39 	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
    40 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    41 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
    42 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
    43 	done
    44 
    45 uninstall-local:
    46 	@$(NORMAL_UNINSTALL)
    47 	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
    48 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    49 	  echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
    50 	  rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
    51 	done
    52 
    53 .PHONY: update-external-tags