Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
74f23a2b3b
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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 \