Changeset 3669 for pjproject


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

Location:
pjproject/trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/Makefile

    r3351 r3669  
    22include build/host-$(HOST_NAME).mak 
    33-include user.mak 
     4include version.mak 
    45 
    56DIRS = pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/build $(EXTRA_DIRS) 
     
    2425        fi 
    2526        for dir in $(DIRS); do \ 
    26                 if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \ 
     27                if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ 
    2728                    true; \ 
    2829                else \ 
     
    9394 
    9495prefix = $(ac_prefix) 
    95 include version.mak 
    9696 
    9797install: 
  • pjproject/trunk/pjlib-util/build/Makefile

    r3319 r3669  
    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 
  • pjproject/trunk/pjlib-util/docs/doxygen.cfg

    r2037 r3669  
    2424# if some version control system is used. 
    2525 
    26 PROJECT_NUMBER         =  
     26PROJECT_NUMBER         = $(PJ_VERSION) 
    2727 
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)  
     
    3131# where doxygen was started. If left blank the current directory will be used. 
    3232 
    33 OUTPUT_DIRECTORY       = docs 
     33OUTPUT_DIRECTORY       = docs/$(PJ_VERSION) 
    3434 
    3535# The OUTPUT_LANGUAGE tag is used to specify the language in which all  
  • pjproject/trunk/pjlib-util/docs/header.html

    r755 r3669  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 
    3 <title>$title</title> 
     3<title>$title ($projectnumber)</title> 
    44<link href="/style/style.css" rel="stylesheet" type="text/css"> 
    55</head><body> 
  • 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 
  • pjproject/trunk/pjlib/docs/doxygen.cfg

    r2037 r3669  
    2424# if some version control system is used. 
    2525 
    26 PROJECT_NUMBER         =  
     26PROJECT_NUMBER         = $(PJ_VERSION) 
    2727 
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)  
     
    3131# where doxygen was started. If left blank the current directory will be used. 
    3232 
    33 OUTPUT_DIRECTORY       = docs 
     33OUTPUT_DIRECTORY       = docs/$(PJ_VERSION) 
    3434 
    3535# The OUTPUT_LANGUAGE tag is used to specify the language in which all  
  • pjproject/trunk/pjlib/docs/header.html

    r690 r3669  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 
    3 <title>$title</title> 
     3<title>$title ($projectnumber)</title> 
    44<link href="/style/style.css" rel="stylesheet" type="text/css"> 
    55</head><body> 
  • pjproject/trunk/pjmedia/build/Makefile

    r3664 r3669  
    11include ../../build.mak 
     2include ../../version.mak 
    23 
    34THIRD_PARTY:=$(PJDIR)/third_party 
     
    142143 
    143144doc: 
    144         cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg 
    145         @if [ -n "$(WWWDIR)" ]; then \ 
    146                 echo "Copying to $(WWWDIR)/pjmedia/docs/html.." ; \ 
    147                 rm -rf $(WWWDIR)/pjmedia/docs/html/* ; \ 
    148                 cp -a ../docs/html/* $(WWWDIR)/pjmedia/docs/html/ ; \ 
     145        cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg 
     146        @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ 
     147                echo "Creating docs/$(PJ_VERSION)/pjmedia/docs/html" ; \ 
     148                mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html ; \ 
     149        fi  
     150        @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ 
     151                echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html.." ; \ 
     152                cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html/ ; \ 
    149153        fi 
    150154 
  • pjproject/trunk/pjmedia/docs/doxygen.cfg

    r3313 r3669  
    2424# if some version control system is used. 
    2525 
    26 PROJECT_NUMBER         =  
     26PROJECT_NUMBER         = $(PJ_VERSION) 
    2727 
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)  
     
    3131# where doxygen was started. If left blank the current directory will be used. 
    3232 
    33 OUTPUT_DIRECTORY       = docs 
     33OUTPUT_DIRECTORY       = docs/$(PJ_VERSION) 
    3434 
    3535# The OUTPUT_LANGUAGE tag is used to specify the language in which all  
  • pjproject/trunk/pjmedia/docs/header.html

    r690 r3669  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 
    3 <title>$title</title> 
     3<title>$title ($projectnumber)</title> 
    44<link href="/style/style.css" rel="stylesheet" type="text/css"> 
    55</head><body> 
  • 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 
  • pjproject/trunk/pjnath/docs/doxygen.cfg

    r2642 r3669  
    2424# if some version control system is used. 
    2525 
    26 PROJECT_NUMBER         =  
     26PROJECT_NUMBER         = $(PJ_VERSION) 
    2727 
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)  
     
    3131# where doxygen was started. If left blank the current directory will be used. 
    3232 
    33 OUTPUT_DIRECTORY       = docs 
     33OUTPUT_DIRECTORY       = docs/$(PJ_VERSION) 
    3434 
    3535# The OUTPUT_LANGUAGE tag is used to specify the language in which all  
  • pjproject/trunk/pjnath/docs/header.html

    r2642 r3669  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 
    3 <title>$title</title> 
     3<title>$title ($projectnumber)</title> 
    44<link href="/style/style.css" rel="stylesheet" type="text/css"> 
    55</head><body> 
  • 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 
  • pjproject/trunk/pjsip/docs/doxygen.cfg

    r3313 r3669  
    2424# if some version control system is used. 
    2525 
    26 PROJECT_NUMBER         =  
     26PROJECT_NUMBER         = $(PJ_VERSION) 
    2727 
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)  
     
    3131# where doxygen was started. If left blank the current directory will be used. 
    3232 
    33 OUTPUT_DIRECTORY       = docs 
     33OUTPUT_DIRECTORY       = docs/$(PJ_VERSION) 
    3434 
    3535# The OUTPUT_LANGUAGE tag is used to specify the language in which all  
  • pjproject/trunk/pjsip/docs/header.html

    r690 r3669  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 
    3 <title>$title</title> 
     3<title>$title ($projectnumber)</title> 
    44<link href="/style/style.css" rel="stylesheet" type="text/css"> 
    55</head><body> 
Note: See TracChangeset for help on using the changeset viewer.