소스 검색

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 9 년 전
부모
커밋
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 \