Commit bd4a777c authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[3006] Add to build system

parent 5485e724
......@@ -1132,6 +1132,14 @@ AC_ARG_ENABLE(logger-checks, [AC_HELP_STRING([--enable-logger-checks],
AM_CONDITIONAL(ENABLE_LOGGER_CHECKS, test x$enable_logger_checks != xno)
AM_COND_IF([ENABLE_LOGGER_CHECKS], [AC_DEFINE([ENABLE_LOGGER_CHECKS], [1], [Check logger messages?])])
# Check for asciidoc
AC_PATH_PROG(ASCIIDOC, asciidoc, no)
AM_CONDITIONAL(HAVE_ASCIIDOC, test "x$ASCIIDOC" != "xno")
# Check for plantuml
AC_PATH_PROG(PLANTUML, plantuml, no)
AM_CONDITIONAL(HAVE_PLANTUML, test "x$PLANTUML" != "xno")
# Check for valgrind
AC_PATH_PROG(VALGRIND, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test "x$VALGRIND" != "xno")
......@@ -1171,6 +1179,8 @@ AM_COND_IF([HAVE_OPTRESET], [AC_DEFINE([HAVE_OPTRESET], [1], [Check for optreset
AC_CONFIG_FILES([Makefile
doc/Makefile
doc/guide/Makefile
doc/design/Makefile
doc/design/datasrc/Makefile
compatcheck/Makefile
src/Makefile
src/bin/Makefile
......
SUBDIRS = guide
SUBDIRS = guide design
EXTRA_DIST = version.ent.in differences.txt Doxyfile Doxyfile-xml
......
SUBDIRS = datasrc
UML_FILES = \
auth-mapped.txt
TEXT_FILES = \
data-source-classes.txt
BUILT_SOURCES = \
$(UML_FILES:.txt=.png) \
$(TEXT_FILES:.txt=.html)
.txt.html:
if HAVE_ASCIIDOC
$(AM_V_GEN) $(ASCIIDOC) -n $<
else
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif
.txt.png:
if HAVE_PLANTUML
$(AM_V_GEN) $(PLANTUML) $<
else
@echo "*** a2x (plantuml) is required to regenerate $(@) ***"; exit 1;
endif
CLEANFILES = \
$(UML_FILES:.txt=.png) \
$(TEXT_FILES:.txt=.html) \
$(TEXT_FILES:.txt=.xml)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment