mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-08-29 14:33:51 +00:00
4a9d8212c8
This change adds a logging mechanism for records submitted to telemetry client. A basic journal is added to keep track of the last 100 valid records that the daemon processed. This journal can be queried by a new command line interface that was added as part of the change 'telem_journal'. Signed-off-by: avjarami <alex.v.jaramillo@intel.com>
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
SUBDIRS = .
|
|
|
|
ACLOCAL_AMFLAGS = -I build-aux/m4
|
|
|
|
EXTRA_DIST = \
|
|
AUTHORS \
|
|
LICENSE.LGPL-2.1
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--with-systemdsystemunitdir=$$dc_install_base/$(systemdunitdir) \
|
|
--with-systemdtmpfilesdir=$$dc_install_base/$(tmpfilesdir) \
|
|
--with-systemdsysctldir=$$dc_install_base/$(sysctldir) \
|
|
--with-systemdsystemconfdir=$$dc_install_base/$(systemconfdir)
|
|
|
|
include $(top_srcdir)/build-aux/make/cflags.make
|
|
include $(top_srcdir)/build-aux/make/ldflags.make
|
|
include $(top_srcdir)/docs/local.mk
|
|
include $(top_srcdir)/scripts/local.mk
|
|
include $(top_srcdir)/src/local.mk
|
|
include $(top_srcdir)/src/data/local.mk
|
|
include $(top_srcdir)/src/nica/local.mk
|
|
include $(top_srcdir)/src/probes/local.mk
|
|
include $(top_srcdir)/src/journal/local.mk
|
|
include $(top_srcdir)/tests/local.mk
|
|
|
|
release:
|
|
@git rev-parse v$(PACKAGE_VERSION) &> /dev/null; \
|
|
if [ "$$?" -eq 0 ]; then \
|
|
echo "Error: Release $(PACKAGE_VERSION) already exists."; \
|
|
echo "Bump version in configure.ac before releasing."; \
|
|
exit 1; \
|
|
fi
|
|
@git tag -a -m "Release $(PACKAGE_VERSION)" v$(PACKAGE_VERSION)
|
|
@printf "\nNew release $(PACKAGE_VERSION) tagged!\n\n"
|