Changeset 1178:a3614ff337fe


Ignore:
Timestamp:
03/15/09 12:23:19 (3 years ago)
Author:
niam
Branch:
default
Message:

make tags

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r1163 r1178  
    1111LN_S:=@LN_S@ 
    1212 
     13TAGS:=@TAGS@ 
     14 
    1315CPPFLAGS:=-I./include @CPPFLAGS@ 
    1416LDFLAGS:=-L./ @LDFLAGS@ 
    15 CFLAGS:=@CFLAGS@ @DEFS@ 
     17CFLAGS:=@CFLAGS@ 
    1618 
    1719########################################################### 
     
    157159        @echo "" 
    158160 
     161tags: 
     162        @if test -n "${TAGS}" -a -x "${TAGS}";\ 
     163        then\ 
     164                ${TAGS} include/libdodo/* src/*;\ 
     165        else\ 
     166                echo "No application was found for generating tags";\ 
     167        fi 
     168 
    159169clean: 
    160170        @rm -rf *.o *.so* *.a* 
  • trunk/configure

    r1163 r1178  
    642642CXXCPP 
    643643DEBUG 
     644TAGS 
    644645INSTALL_DATA 
    645646INSTALL_SCRIPT 
     
    53205321## 
    53215322 
     5323 
     5324TAGS=$(which etags) 
     5325if test -z "$TAGS" -o ! -x "$TAGS" 
     5326then 
     5327        TAGS=$(which ctags) 
     5328        if test -z "$TAGS" -o ! -x "$TAGS" 
     5329        then 
     5330                { $as_echo "$as_me:$LINENO: WARNING: No application was found for generating tags" >&5 
     5331$as_echo "$as_me: WARNING: No application was found for generating tags" >&2;} 
     5332        else 
     5333                { $as_echo "$as_me:$LINENO: result: ctags will be used for generating tags" >&5 
     5334$as_echo "ctags will be used for generating tags" >&6; } 
     5335        fi 
     5336else 
     5337        { $as_echo "$as_me:$LINENO: result: etags will be used for generating tags" >&5 
     5338$as_echo "etags will be used for generating tags" >&6; } 
     5339fi 
     5340 
    53225341cat > include/libdodo/directives.runtime.h  <<EOF 
    53235342/*************************************************************************** 
  • trunk/configure.in

    r1163 r1178  
    6161# checking dependencies/build options 
    6262## 
     63 
     64AC_SUBST(TAGS) 
     65TAGS=$(which etags) 
     66if test -z "$TAGS" -o ! -x "$TAGS" 
     67then 
     68        TAGS=$(which ctags) 
     69        if test -z "$TAGS" -o ! -x "$TAGS" 
     70        then 
     71                AC_MSG_WARN(No application was found for generating tags) 
     72        else 
     73                AC_MSG_RESULT(ctags will be used for generating tags) 
     74        fi 
     75else 
     76        AC_MSG_RESULT(etags will be used for generating tags) 
     77fi 
    6378 
    6479cat > include/libdodo/directives.runtime.h  <<EOF 
Note: See TracChangeset for help on using the changeset viewer.