Files
libcoap/doc/Makefile.am
T
Carsten Schoenert 80d74208ce adding the doc/ folder to the build environment
To install the doxygen output, which is generated within doc/html/,
adding the needed checks for the doxygen binary to configure.ac and also
adding the needed doc/Makefile.am file.

Finally tuning doc/Doxyfile.in to let the autotools write the needed
informations into this file while generating the finally created
doc/Doxyfile.
2015-03-03 19:21:43 +01:00

34 lines
714 B
Makefile

# doc/Makefile.am
#
# Copyright (C) 2015 Carsten Schoenert <c.schoenert@t-online.de>
#
# This file is part of the CoAP C library libcoap. Please see README and
# COPYING for terms of use.
# We can only perfom the targets in this directory if doxygen is present.
if HAVE_DOXYGEN
directory = $(builddir)/html
dist_man_MANS = $(directory)/html
$(directory)/html: doxyfile.stamp
$(directory): doxyfile.stamp
doxyfile.stamp:
$(DOXYGEN) Doxyfile
echo Timestamp > doxyfile.stamp
CLEANFILES = doxyfile.stamp doxygen_sqlite3.db
all-local: doxyfile.stamp
clean-local:
rm -rf $(directory)
install-exec-am: all-local
$(MKDIR_P) $(htmldir)/html || exit 1
cp -a $(directory) $(htmldir)
endif # HAVE_DOXYGEN