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

    r3423 r3669  
    11include ../../build.mak 
     2include ../../version.mak 
    23include $(PJDIR)/build/common.mak 
    34 
     
    5859 
    5960doc: 
    60         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    61         @if [ -n "$(WWWDIR)" ]; then \ 
    62                 echo "Copying to $(WWWDIR)/pjlib/docs/html.." ; \ 
    63                 cp -a ../docs/html/* $(WWWDIR)/pjlib/docs/html/ ; \ 
     61        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     62        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html" ] ; then \ 
     63                echo "Creating docs/$(PJ_VERSION)/pjlib/docs/html" ; \ 
     64                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html ; \ 
     65        fi  
     66        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html" ] ; then \ 
     67                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html.." ; \ 
     68                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html/ ; \ 
    6469        fi 
    65  
    6670print: 
    6771        $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib print_lib 
Note: See TracChangeset for help on using the changeset viewer.