Changeset 1157 for trunk


Ignore:
Timestamp:
05/29/09 12:29:02 (3 years ago)
Author:
alonbl
Message:

Make build work again after last api-doc change.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1153 r1157  
    232232) 
    233233 
    234 AC_CHECK_PROGS([DOXYGEN],[doxygen]) 
    235 test "${enable_api_doc}" = "yes" -a -z "${DOXYGEN}" && AC_MSG_ERROR([doxygen is required for api doc]) 
    236  
    237234dnl These required for svn checkout 
    238235AC_ARG_VAR([XSLTPROC], [xsltproc utility]) 
     
    241238AC_ARG_VAR([WGET_OPTS], [wget options]) 
    242239AC_ARG_VAR([TR], [tr utility]) 
     240AC_ARG_VAR([DOXYGEN], [tr utility]) 
    243241AC_CHECK_PROGS([XSLTPROC],[xsltproc]) 
    244242AC_CHECK_PROGS([SVN],[svn]) 
    245243AC_CHECK_PROGS([WGET],[wget]) 
    246244AC_CHECK_PROGS([TR],[tr]) 
     245AC_CHECK_PROGS([DOXYGEN],[doxygen]) 
     246 
    247247test -z "${WGET_OPTS}" && WGET_OPTS="-nv" 
    248248 
     
    255255                if test "${enable_doc}" = "yes"; then 
    256256                        AC_MSG_ERROR([Missing XSLTPROC svn build with doc]) 
     257                else 
     258                        AC_MSG_WARN(["make dist" will not work]) 
     259                fi 
     260        fi 
     261 
     262        AC_MSG_CHECKING([DOXYGEN requirement]) 
     263        if test -n "${DOXYGEN}"; then 
     264                AC_MSG_RESULT([ok]) 
     265        else 
     266                if test "${enable_api_doc}" = "yes"; then 
     267                        AC_MSG_ERROR([Missing DOXYGEN svn build with api doc]) 
    257268                else 
    258269                        AC_MSG_WARN(["make dist" will not work]) 
  • trunk/doc/Makefile.am

    r1151 r1157  
    88dist_doc_DATA = README 
    99dist_noinst_DATA = $(srcdir)/doxygen-footer.html $(srcdir)/*.gif 
     10if ENABLE_API_DOC 
    1011dist_apidoc_DATA=api.out/html/* 
     12else 
     13dist_noinst_DATA+=api.out/html/* 
     14endif 
    1115 
    12 if ENABLE_API_DOC 
    13  
     16if SVN_CHECKOUT 
    1417api.out/html/*: api.out 
    1518api.out:        $(top_srcdir)/src/include/openct/*.h \ 
Note: See TracChangeset for help on using the changeset viewer.