Explorar o código

doc/doxygen/Makefile.am: fix when documentation is not built

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
2cbef78b5c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      doc/doxygen/Makefile.am

+ 3 - 1
doc/doxygen/Makefile.am

@@ -162,6 +162,7 @@ chapters/version.html: $(chapters)
 		if test -f $$f ; then $(RM) $$f ; fi ;\
 	done
 
+if BUILD_DOC
 EXTRA_DIST	= 					\
 	$(chapters) 					\
 	chapters/version.sty				\
@@ -209,6 +210,7 @@ EXTRA_DIST	= 					\
 	doxygen.cfg 					\
 	refman.tex					\
 	$(DOX_HTML_DIR)
+endif
 
 dox_inputs = $(DOX_CONFIG) 				\
 	$(chapters) 					\
@@ -277,7 +279,7 @@ $(DOX_TAG): $(dox_inputs)
 	@cat $(top_srcdir)/doc/doxygen/refman.tex >> $(DOX_LATEX_DIR)/refman.tex
 
 if BUILD_DOC
-dist_pdf_DATA = $(DOX_PDF)
+EXTRA_DIST += $(DOX_PDF)
 
 $(DOX_PDF): $(DOX_TAG) refman.tex
 	@cp $(top_srcdir)/doc/doxygen/chapters/version.sty $(DOX_LATEX_DIR)