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

    r3319 r3669  
    44 
    55include ../../build.mak 
     6include ../../version.mak 
    67include $(PJDIR)/build/common.mak 
    78 
     
    7980 
    8081doc: 
    81         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    82         @if [ -n "$(WWWDIR)" ]; then \ 
    83                 echo "Copying to $(WWWDIR)/pjnath/docs/html.." ; \ 
    84                 cp -a ../docs/html/* $(WWWDIR)/pjnath/docs/html/ ; \ 
     82        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     83        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html" ] ; then \ 
     84                echo "Creating docs/$(PJ_VERSION)/pjnath/docs/html" ; \ 
     85                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html ; \ 
     86        fi  
     87        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html" ] ; then \ 
     88                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html.." ; \ 
     89                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html/ ; \ 
    8590        fi 
    8691 
Note: See TracChangeset for help on using the changeset viewer.