Changeset 2308


Ignore:
Timestamp:
Aug 11, 2010, 5:54:20 PM (11 years ago)
Author:
Peter
Message:

creating dummie doxygen.mk during configure. fixes #636

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/am/doxygen.am

    r2224 r2308  
    2727$(top_srcdir)/am/doxygen.am:
    2828
    29 doxygen.mk: Makefile.am
     29DISTCLEANFILES += dx-stamp
     30
     31dx-stamp:; date > $@
     32
     33# dummie doxygen.mk is created during configure; to trigger
     34# re-creation of a proper doxygen.mk during make, let's depend on
     35# dx-stamp
     36doxygen.mk: Makefile.am dx-stamp
    3037  @echo creating $@
    3138  @echo "# generated by make" > $@ && \
  • trunk/configure.ac

    r2300 r2308  
    253253AC_SUBST(DX_HTML_OUTPUT)
    254254AC_SUBST(DX_LATEX_OUTPUT)
     255# create dummie version of doxygen.mk
     256AC_CONFIG_COMMANDS([doxygen.mk],
     257[for f in $CONFIG_FILES; do
     258# for each directory in yat that has a Makefile, create a doxygen.mk
     259case $f in #(
     260  yat/*/Makefile) :
     261   echo '# dummie' > `echo $f | sed 's,Makefile,doxygen.mk,'`;;
     262esac
     263done
     264])
    255265
    256266
     
    360370AC_MSG_NOTICE([])
    361371AC_MSG_NOTICE([ Ready to compile the yat library])
     372AC_MSG_NOTICE
    362373AS_IF([test x$have_doxygen = xyes],
    363   [AC_MSG_NOTICE([ Documentation will be generated in the following formats:])
    364    dox_formats="   html";
    365    AS_IF([test x$dx_enable_pdf = xyes], [dox_formats="$dox_formats pdf"])
    366    AS_IF([test x$dx_enable_ps = xyes],  [dox_formats="$dox_formats ps"])
    367    AS_IF([test x$dx_enable_dvi = xyes], [dox_formats="$dox_formats dvi"])
    368    AC_MSG_NOTICE([$dox_formats])
    369   ],
     374  [AC_MSG_NOTICE([ Documentation will be generated in html.])],
    370375  [AC_MSG_NOTICE([Generation of documentation is disabled])
    371376   AC_MSG_NOTICE([doxygen could not be found])
Note: See TracChangeset for help on using the changeset viewer.