Changeset 14628 for trunk/FACT++
- Timestamp:
- 11/15/12 22:34:26 (12 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/Makefile.am
r14536 r14628 537 537 endif 538 538 539 if HAS_JSDOC 540 MAN_TARGETS += jsdoc 541 endif 542 539 543 $(dist_man1_MANS): $(dist_man1_MANS:.man=) 540 544 @mkdir -p man … … 546 550 .man.pdf: $< 547 551 $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@ 552 553 jsdoc: 554 jsdoc -d=html/dimctrl scripts/doc 555 548 556 549 557 man: $(MAN_TARGETS) doxygen-doc -
trunk/FACT++/Makefile.in
r14536 r14628 86 86 @HAS_GROFF_TRUE@@HAS_PS2PDF_TRUE@am__append_16 = $(dist_man1_MANS:.man=.pdf) 87 87 @HAS_GROFF_TRUE@@HAS_PS2PDF_TRUE@am__append_17 = $(dist_man1_MANS:.man=.pdf) 88 @HAS_JSDOC_TRUE@am__append_18 = jsdoc 88 89 subdir = . 89 90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 619 620 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 620 621 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 622 JSDOC = @JSDOC@ 621 623 LD = @LD@ 622 624 LDFLAGS = @LDFLAGS@ … … 1136 1138 1137 1139 #------------------------------------------------------------------------- 1138 MAN_TARGETS = $(dist_man1_MANS) $(am__append_12) $(am__append_15) 1140 MAN_TARGETS = $(dist_man1_MANS) $(am__append_12) $(am__append_15) \ 1141 $(am__append_18) 1139 1142 all: $(BUILT_SOURCES) 1140 1143 $(MAKE) $(AM_MAKEFLAGS) all-am … … 2799 2802 $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@ 2800 2803 2804 jsdoc: 2805 jsdoc -d=html/dimctrl scripts/doc 2806 2801 2807 man: $(MAN_TARGETS) doxygen-doc 2802 2808 -
trunk/FACT++/configure
r14328 r14628 662 662 HAS_DOXYGEN_FALSE 663 663 HAS_DOXYGEN_TRUE 664 HAS_JSDOC_FALSE 665 HAS_JSDOC_TRUE 664 666 HAS_HELP2MAN_FALSE 665 667 HAS_HELP2MAN_TRUE … … 670 672 HAS_COLORDIFF_FALSE 671 673 HAS_COLORDIFF_TRUE 674 JSDOC 672 675 HELP2MAN 673 676 PS2PDF … … 23974 23977 23975 23978 cat > conftest.$ac_ext <<EOF 23976 #line 2397 6"configure"23979 #line 23979 "configure" 23977 23980 #include "confdefs.h" 23978 23981 #include <qglobal.h> … … 24945 24948 24946 24949 24950 # Extract the first word of "jsdoc", so it can be a program name with args. 24951 set dummy jsdoc; ac_word=$2 24952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24953 $as_echo_n "checking for $ac_word... " >&6; } 24954 if ${ac_cv_prog_JSDOC+:} false; then : 24955 $as_echo_n "(cached) " >&6 24956 else 24957 if test -n "$JSDOC"; then 24958 ac_cv_prog_JSDOC="$JSDOC" # Let the user override the test. 24959 else 24960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24961 for as_dir in $PATH 24962 do 24963 IFS=$as_save_IFS 24964 test -z "$as_dir" && as_dir=. 24965 for ac_exec_ext in '' $ac_executable_extensions; do 24966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24967 ac_cv_prog_JSDOC="yes" 24968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24969 break 2 24970 fi 24971 done 24972 done 24973 IFS=$as_save_IFS 24974 24975 test -z "$ac_cv_prog_JSDOC" && ac_cv_prog_JSDOC="no" 24976 fi 24977 fi 24978 JSDOC=$ac_cv_prog_JSDOC 24979 if test -n "$JSDOC"; then 24980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JSDOC" >&5 24981 $as_echo "$JSDOC" >&6; } 24982 else 24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24984 $as_echo "no" >&6; } 24985 fi 24986 24987 24947 24988 24948 24989 ########################################################################## … … 25001 25042 HAS_HELP2MAN_TRUE='#' 25002 25043 HAS_HELP2MAN_FALSE= 25044 fi 25045 25046 if test "$JSDOC" = yes; then 25047 HAS_JSDOC_TRUE= 25048 HAS_JSDOC_FALSE='#' 25049 else 25050 HAS_JSDOC_TRUE='#' 25051 HAS_JSDOC_FALSE= 25003 25052 fi 25004 25053 … … 25454 25503 if test -z "${HAS_HELP2MAN_TRUE}" && test -z "${HAS_HELP2MAN_FALSE}"; then 25455 25504 as_fn_error $? "conditional \"HAS_HELP2MAN\" was never defined. 25505 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25506 fi 25507 if test -z "${HAS_JSDOC_TRUE}" && test -z "${HAS_JSDOC_FALSE}"; then 25508 as_fn_error $? "conditional \"HAS_JSDOC\" was never defined. 25456 25509 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25457 25510 fi … … 28073 28126 28074 28127 fi 28128 if test -z "$HAS_JSDOC_TRUE"; then : 28129 { $as_echo "$as_me:${as_lineno-$LINENO}: JavaScript docu / 'jsdoc' found: yes" >&5 28130 $as_echo "$as_me: JavaScript docu / 'jsdoc' found: yes" >&6;} 28131 else 28132 { $as_echo "$as_me:${as_lineno-$LINENO}: JavaScript docu / 'jsdoc' found: no" >&5 28133 $as_echo "$as_me: JavaScript docu / 'jsdoc' found: no" >&6;} 28134 28135 fi 28075 28136 if test -z "$HAS_HELP2MAN_TRUE"; then : 28076 28137 … … 28195 28256 28196 28257 fi 28258 if test -z "$HAS_JSDOC_TRUE"; then : 28259 { $as_echo "$as_me:${as_lineno-$LINENO}: jsdoc: build JavaScript documentation with jsdoc" >&5 28260 $as_echo "$as_me: jsdoc: build JavaScript documentation with jsdoc" >&6;} 28261 28262 fi 28197 28263 { $as_echo "$as_me:${as_lineno-$LINENO}: man: build all buildable documentation" >&5 28198 28264 $as_echo "$as_me: man: build all buildable documentation" >&6;} … … 28267 28333 28268 28334 fi 28335 if test -z "$HAS_JSDOC_TRUE"; then : 28336 else 28337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JavaScript documentation disabled!" >&5 28338 $as_echo "$as_me: WARNING: JavaScript documentation disabled!" >&2;} 28339 fi 28269 28340 if test -z "$HAS_SQL_TRUE"; then : 28270 28341 else -
trunk/FACT++/configure.ac
r14048 r14628 343 343 AC_CHECK_PROG(PS2PDF, ps2pdf, yes, no) 344 344 AC_CHECK_PROG(HELP2MAN, help2man, yes, no) 345 AC_CHECK_PROG(JSDOC, jsdoc, yes, no) 345 346 346 347 ########################################################################## … … 373 374 AM_CONDITIONAL(HAS_PS2PDF, [test "$PS2PDF" = yes]) 374 375 AM_CONDITIONAL(HAS_HELP2MAN, [test "$HELP2MAN" = yes]) 376 AM_CONDITIONAL(HAS_JSDOC, [test "$JSDOC" = yes]) 375 377 AM_CONDITIONAL(HAS_DOXYGEN, [test "$DX_DOXYGEN"]) 376 378 AM_CONDITIONAL(HAS_DOT, [test "$DX_DOT"]) … … 492 494 AC_MSG_NOTICE([ colored svn diff / 'colordiff' found: no]) 493 495 ) 496 AM_COND_IF(HAS_JSDOC, 497 AC_MSG_NOTICE([ JavaScript docu / 'jsdoc' found: yes]), 498 AC_MSG_NOTICE([ JavaScript docu / 'jsdoc' found: no]) 499 ) 494 500 AM_COND_IF(HAS_HELP2MAN,[ 495 501 AC_MSG_NOTICE([ man-pages enabled / 'help2man' found: $HELP2MAN]) … … 554 560 AC_MSG_NOTICE([ doxygen-doc: build html and pdf documentation with doxygen]) 555 561 ) 562 AM_COND_IF(HAS_JSDOC, 563 AC_MSG_NOTICE([ jsdoc: build JavaScript documentation with jsdoc]) 564 ) 556 565 AC_MSG_NOTICE([ man: build all buildable documentation]) 557 566 AC_MSG_NOTICE() … … 583 592 AC_MSG_WARN([ Either of the necessary packages not found - viewer GUI disabled!]) 584 593 ) 594 AM_COND_IF(HAS_JSDOC,, AC_MSG_WARN([ JavaScript documentation disabled!])) 585 595 AM_COND_IF(HAS_SQL,, AC_MSG_WARN([ database support globally disabled!])) 586 596 AM_COND_IF(HAS_NOVA,, AC_MSG_WARN([ libnova missing - smartfact will be compiles without astronomy support!]))
Note:
See TracChangeset
for help on using the changeset viewer.