Files
libcoap/doc/Makefile.am
T
Carsten Schoenert c909bf8020 doc/Makefile.am: remove *.md5 files after installation
Doxygen creates various hashfiles (*.md5) to check which files needs to
be re created if the input files has been changed. The user don't need
those hashfiles so let's remove these from final install target.
2016-04-26 08:29:42 +02:00

43 lines
1023 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
CLEANFILES = \
doxygen_sqlite3.db
# This target has no check for automated install data! It's simply assumed that
# that the 'all' target is running before, in short: the user has to run first
# 'make' before running 'make install'!
install-data-am:
@if [ ! -d $(srcdir)/html ]; then \
echo ;\
echo " No install data in '$(srcdir)/html'found! Please run 'make all' first." ;\
echo ;\
exit 1 ;\
fi
$(MKDIR_P) $(DESTDIR)$(htmldir)/html || exit 1
cp -a $(srcdir)/html $(DESTDIR)$(htmldir)
find $(DESTDIR)$(htmldir) -type f -name "*.md5" -exec rm {} \;
uninstall-am:
-rm -rf $(DESTDIR)$(htmldir)/html
all:
$(DOXYGEN) Doxyfile
clean-local:
rm -rf $(srcdir)/html
distclean-local: clean-local
endif # HAVE_DOXYGEN