mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 00:15:49 +03:00
The old behavior didn't allow a additonal setting of the DESTDIR variable. This is a serious problem while building within a chroot for example. Also the implementation of the stamp file was triggering multiple builds in some cirumstances. This handling is reverted with the remove of the old stamp file handling.
42 lines
959 B
Makefile
42 lines
959 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)
|
|
|
|
uninstall-am:
|
|
-rm -rf $(DESTDIR)$(htmldir)/html
|
|
|
|
all:
|
|
$(DOXYGEN) Doxyfile
|
|
|
|
clean-local:
|
|
rm -rf $(srcdir)/html
|
|
|
|
distclean-local: clean-local
|
|
|
|
endif # HAVE_DOXYGEN
|