Ignore:
Timestamp:
Jul 22, 2011 11:52:50 AM (13 years ago)
Author:
ismangil
Message:

Fixed #1336 make doc now creates version specific docs

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjlib-util/build/Makefile

    r3319 r3677  
    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.