Changeset 957
- Timestamp:
- Oct 9, 2007, 10:07:24 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r955 r957 46 46 AC_PROG_CXX 47 47 AC_PROG_INSTALL 48 AC_CHECK_PROG([ DOXYGEN], [doxygen], [yes], [no])49 AC_CHECK_PROG([ DVIPDFM], [dvipdfm], [yes], [no])50 AC_CHECK_PROG([ LATEX], [latex], [yes], [no])51 AC_CHECK_PROG([ LATEX2HTML], [latex2html], [yes], [no])48 AC_CHECK_PROG([HAVE_DOXYGEN], [doxygen], [true], [false]) 49 AC_CHECK_PROG([HAVE_DVIPDFM], [dvipdfm], [true], [false]) 50 AC_CHECK_PROG([HAVE_LATEX], [latex], [true], [false]) 51 AC_CHECK_PROG([HAVE_LATEX2HTML], [latex2html], [true], [false]) 52 52 53 53 # Checks for libraries. … … 144 144 # when in debug mode 145 145 if (test "$enable_debug" == "yes"); then 146 if (test "$ DOXYGEN" != "yes") ; then146 if (test "$HAVE_DOXYGEN" != "true") ; then 147 147 AC_MSG_WARN([Doxygen was not found. Yat will compile and work 148 148 without doxygen. However, in order to enable … … 150 150 available at http://www.doxygen.org/]) 151 151 fi 152 if (test "$ LATEX" != "yes") ; then152 if (test "$HAVE_LATEX" != "true") ; then 153 153 AC_MSG_WARN([latex was not found. Yat will compile and work 154 154 without latex. However, supporting documentation on … … 156 156 latex.]) 157 157 fi 158 if (test "$ DVIPDFM" != "yes") ; then158 if (test "$HAVE_DVIPDFM" != "true") ; then 159 159 AC_MSG_WARN([dvipdfm was not found. Yat will compile and work 160 160 without dvipdfm. However, pdf document on statistics 161 161 used in yat cannot be generated without dvipdfm.]) 162 162 fi 163 if (test "$ LATEX2HTML" != "yes") ; then163 if (test "$HAVE_LATEX2HTML" != "true") ; then 164 164 AC_MSG_WARN([latex2html was not found. Yat will compile and work 165 165 without Latex. However, html document on statistics -
trunk/doc/Makefile.am
r865 r957 27 27 doc: doxygen.config doxygen-local Statistics-local 28 28 29 dvi-local: Statistics.dvi 30 31 pdf-local: Statistics.pdf 32 33 html-local: doxygen.config doxygen-local html/Statistics/Statistics.html 34 35 mostlyclean-local: 36 rm -rf *.toc *.log *.dvi *.aux *~ 37 29 38 clean-local: 30 rm -rf doxygen.config html latex \ 31 *.toc *.log *.dvi *.aux *~ 39 rm -rf doxygen.config html latex Statistics.pdf 32 40 33 41 doxygen-local: 34 doxygen doxygen.config 42 @if $(HAVE_DOXYGEN); then \ 43 doxygen doxygen.config; \ 44 fi 35 45 36 46 doxygen.config: … … 38 48 39 49 40 html/Statistics: Statistics.tex 41 latex2html Statistics.tex 42 @mv Statistics html/. 50 html/Statistics/Statistics.html: Statistics.tex 51 @$(install_sh) -d html/Statistics 52 @if $(HAVE_LATEX2HTML); then \ 53 latex2html -t "Weighted Statistics used in yat." \ 54 --dir html/Statistics Statistics.tex;\ 55 fi 43 56 44 Statistics-local: html/Statistics \57 Statistics-local: html/Statistics/Statistics.html \ 45 58 html/Statistics/Statistics.pdf 46 59 47 60 Statistics.dvi: Statistics.tex 48 @latex Statistics.tex 49 @latex Statistics.tex 61 @if $(HAVE_LATEX); then \ 62 @latex Statistics.tex; \ 63 @latex Statistics.tex; \ 64 fi 50 65 51 66 Statistics.pdf: Statistics.dvi 52 @dvipdfm Statistics.dvi 67 @if $(HAVE_DVIPDFM); then \ 68 dvipdfm Statistics.dvi; \ 69 fi 53 70 54 html/Statistics/Statistics.pdf: Statistics.pdf 55 @cp Statistics.pdf html/Statistics/. 56 71 html/Statistics/Statistics.pdf: $(pdf) 72 @if test -f Statistics.pdf; then \ 73 $(install_sh) -d html/Statistics; \ 74 cp Statistics.pdf html/Statistics/.; \ 75 fi
Note: See TracChangeset
for help on using the changeset viewer.