1# doc/Makefile.am 2# 3# Copyright (C) 2015 Carsten Schoenert <c.schoenert@t-online.de> 4# 5# This file is part of the CoAP C library libcoap. Please see README and 6# COPYING for terms of use. 7 8 9# We can only perfom the targets in this directory if doxygen is present. 10 11if HAVE_DOXYGEN 12 13CLEANFILES = \ 14 doxygen_sqlite3.db 15 16 17# This target has no check for automated install data! It's simply assumed that 18# that the 'all' target is running before, in short: the user has to run first 19# 'make' before running 'make install'! 20install-data-am: 21 @if [ ! -d $(srcdir)/html ]; then \ 22 echo ;\ 23 echo " No install data in '$(srcdir)/html'found! Please run 'make all' first." ;\ 24 echo ;\ 25 exit 1 ;\ 26 fi 27 $(MKDIR_P) $(DESTDIR)$(htmldir)/html || exit 1 28 cp -a $(srcdir)/html $(DESTDIR)$(htmldir) 29 30uninstall-am: 31 -rm -rf $(DESTDIR)$(htmldir)/html 32 33all: 34 $(DOXYGEN) Doxyfile 35 36clean-local: 37 rm -rf $(srcdir)/html 38 39distclean-local: clean-local 40 41endif # HAVE_DOXYGEN 42