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/pjmedia/build/Makefile

    r3664 r3669  
    11include ../../build.mak 
     2include ../../version.mak 
    23 
    34THIRD_PARTY:=$(PJDIR)/third_party 
     
    142143 
    143144doc: 
    144         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    145         @if [ -n "$(WWWDIR)" ]; then \ 
    146                 echo "Copying to $(WWWDIR)/pjmedia/docs/html.." ; \ 
    147                 rm -rf $(WWWDIR)/pjmedia/docs/html/* ; \ 
    148                 cp -a ../docs/html/* $(WWWDIR)/pjmedia/docs/html/ ; \ 
     145        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     146        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ 
     147                echo "Creating docs/$(PJ_VERSION)/pjmedia/docs/html" ; \ 
     148                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html ; \ 
     149        fi  
     150        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ 
     151                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html.." ; \ 
     152                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html/ ; \ 
    149153        fi 
    150154 
Note: See TracChangeset for help on using the changeset viewer.