Ignore:
Timestamp:
Jul 19, 2011 9:42:58 PM (13 years ago)
Author:
ismangil
Message:

Re #1254 Doxygen configuration and makefile changes to support version specific documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/build/Makefile

    r3319 r3669  
    44 
    55include ../../build.mak 
     6include ../../version.mak 
    67include $(PJDIR)/build/common.mak 
    78 
     
    5657 
    5758doc: 
    58         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    59         @if [ -n "$(WWWDIR)" ]; then \ 
    60                 echo "Copying to $(WWWDIR)/pjlib-util/docs/html.." ; \ 
    61                 cp -a ../docs/html/* $(WWWDIR)/pjlib-util/docs/html/ ; \ 
     59        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     60        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html" ] ; then \ 
     61                echo "Creating docs/$(PJ_VERSION)/pjlib-util/docs/html" ; \ 
     62                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html ; \ 
     63        fi  
     64        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html" ] ; then \ 
     65                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html.." ; \ 
     66                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html/ ; \ 
    6267        fi 
    6368 
Note: See TracChangeset for help on using the changeset viewer.