$(PREBUILT_IMAGES) \
$(BUILT_IMAGES)
+
+
+if HWLOC_BUILD_DOXYGEN
+
#
# Files where the doxygen inputs live (i.e., dependencies). Make the
# generated tagfile depend on these files, which will force them to be
# building standalone.
#
-if HWLOC_BUILD_DOXYGEN
BUILT_SOURCES = $(BUILT_IMAGES)
images/diagram.png: $(srcdir)/images/diagram.fig
exit 1; \
fi
$(FIG2DEV) -L eps $< $@
-endif
#
# Rules for running doxygen. It depends on the built images and the
-e 's/__hwloc_inline/inline/g' \
-e 's/\\_\\-\\_\\-hwloc\\_\\-inline/inline/g'
-if HWLOC_BUILD_DOXYGEN
$(DOX_TAG): $(BUILT_SOURCES) $(dox_inputs) $(PREBUILT_IMAGES)
rm -fr $(DOX_DIR)
$(DOXYGEN) $(DOX_CONFIG)
@mv $(DOX_MAN_DIR)/man3/hwloc* $(DOX_MAN_DIR)/man3/HWLOC* $(DOX_DIR)/man.tmp/
@rm -rf $(DOX_MAN_DIR)/man3
@mv $(DOX_DIR)/man.tmp $(DOX_MAN_DIR)/man3
-endif
www-doc-sed:
-$(RENAME_SED) www.open-mpi.org/html/*.php
# Rules for building the PDF
#
-if HWLOC_BUILD_DOXYGEN
-
# The Doxygen config is set to generate a4 latex -- no transformation
# is necessary.
$(DOX_A4PDF): $(DOX_TAG)
done; \
mv letter-refman.pdf $(DOCDIR)/$(DOX_LETTERPDF)
-endif
-
#
# Note that we want to use our own doxygen.css file; not the one that
# doxygen installs in the HTML directory. So manually copy it over.
# pre-bundled in a tarball).
#
-if HWLOC_BUILD_DOXYGEN
all-local: $(DOX_TAG)
if test -d $(DOX_HTML_DIR) -a -f $(DOX_HTML_DIR)/doxygen.css; then \
cp -f $(srcdir)/doxygen.css $(DOX_HTML_DIR); \
fi
-endif
+
+endif HWLOC_BUILD_DOXYGEN
+
+
+
+if HWLOC_INSTALL_DOXYGEN
#
# Un/install the generated PDF and man pages (just like BUILD_DOXYGEN,
# standalone mode).
#
-if HWLOC_INSTALL_DOXYGEN
pdf_DATA = $(DOX_A4PDF) $(DOX_LETTERPDF)
-endif
#
# Install the HWLOC_* and hwloc_* man pages. It would be great to
# in the Makefile.am... :-(
#
-if HWLOC_INSTALL_DOXYGEN
-
# We have so many man pages that if we put them all in man3_MANS, we
# exceed the maximum command line length on some systems (during "make
# install"). :-( So we have to split them up so that the total
$(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_osdev_by_name.3
# end of manpages(3) if HWLOC_BUILD_DOXYGEN
-endif
+
+endif HWLOC_INSTALL_DOXYGEN
+
+
if HWLOC_BUILD_DOXYGEN
# built at the same time during a parallel build (e.g., "make -j X").
# So arbitrarily make the A4 PDF dependent upon the Letter PDF.
$(DOX_A4PDF): $(DOX_TAG) $(DOX_LETTERPDF)
-endif
+
+endif HWLOC_BUILD_DOXYGEN
+
+
#
# Make sure that the documentation example works
@echo "ERROR: Cannot continue."
@exit 1
endif
-
-#DOCUPLOADHOST=sync.bordeaux.inria.fr
-#DOCUPLOADOPTS=
-#doc-upload: @DX_DOCDIR@/html
-# echo FIXME
-# false
-# rsync -avz --delete --chmod=ug+rwX,o+rX $(DOCUPLOADOPTS) @DX_DOCDIR@/html/ $(DOCUPLOADHOST):/web/runtime/libtopology/doc/