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

    r3664 r3669  
    55 
    66include ../../build.mak 
     7include ../../version.mak 
    78include $(PJDIR)/build/common.mak 
    89 
     
    111112 
    112113doc: 
    113         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    114         @if [ -n "$(WWWDIR)" ]; then \ 
    115                 echo "Copying to $(WWWDIR)/pjsip/docs/html.." ; \ 
    116                 cp -a ../docs/html/* $(WWWDIR)/pjsip/docs/html/ ; \ 
     114        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     115        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html" ] ; then \ 
     116                echo "Creating docs/$(PJ_VERSION)/pjsip/docs/html" ; \ 
     117                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html ; \ 
     118        fi  
     119        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html" ] ; then \ 
     120                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html.." ; \ 
     121                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html/ ; \ 
    117122        fi 
    118123 
Note: See TracChangeset for help on using the changeset viewer.