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

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