1234567891011121314151617181920212223242526272829303132333435363738394041 |
- m4_define([NOVEL_MAJOR_VERSION], [0])
- m4_define([NOVEL_MINOR_VERSION], [0])
- m4_define([NOVEL_MICRO_VERSION], [0])
- m4_define([NOVEL_VERSION], [NOVEL_MAJOR_VERSION.NOVEL_MINOR_VERSION.NOVEL_MICRO_VERSION])
- m4_define([NOVEL_EMAIL], franparpe@openmailbox.org)
- AC_INIT([unnamed_book], [NOVEL_VERSION], [NOVEL_EMAIL])
- AM_INIT_AUTOMAKE([-Wall -Werror foreign])
- AM_EXTRA_RECURSIVE_TARGETS([latex])
- AC_CONFIG_HEADERS([config.h])
- AC_PATH_PROG([INKSCAPE], [inkscape])
- if test x"$INKSCAPE" = x; then
- AC_MSG_ERROR(['inkscape' not found.])
- fi
- AC_PATH_PROG([SPHINX], [sphinx-build])
- if test x"$SPHINX" = x; then
- AC_MSG_ERROR(['sphinx' not found.])
- fi
- AC_CONFIG_FILES([
- Makefile
- src/Makefile
- ])
- AC_SUBST([PAPERSIZE], [b5paper])
- AC_ARG_WITH([a4paper],
- [AS_HELP_STRING([--with-a4paper],
- [Compiles the book with the A4 papersize])],
- [AC_SUBST([PAPERSIZE], [a4paper])],
- [])
- AC_CONFIG_FILES([src/conf.py])
- AC_OUTPUT
|