ソースを参照

doc: fix 'make dist' when latex environment is not found

Even if --disable-build-doc is specified to the configure script, 'make dist'
tries to build the documentation and it miserably fails when the latex
environment (especially pdflatex) is not found. This is because conditional
subdirectories must be handled manually. As specified by the automake
documentation :

"If SUBDIRS contains AC_SUBST variables, DIST_SUBDIRS will not be defined
correctly because Automake doesn't know the possible values of these
variables."'
Samuel Pitoiset 10 年 前
コミット
74f23a2b3b
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      doc/Makefile.am

+ 2 - 0
doc/Makefile.am

@@ -11,6 +11,8 @@
 
 if BUILD_DOC
 SUBDIRS = doxygen
+else
+DIST_SUBDIRS =
 endif
 
 EXTRA_DIST =    tutorial/hello_world.c \