mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-02 16:05:50 +03:00
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.
34 lines
714 B
Makefile
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
|