2019-11-03 21:51:06 +05:30
|
|
|
# Copyright (c) 2018-2019 Joachim Nilsson <troglobit@gmail.com>
|
2018-08-03 01:53:26 +05:30
|
|
|
#
|
2019-11-03 21:51:06 +05:30
|
|
|
# This file is part of the sysklogd package, a kernel and system log daemon.
|
2018-08-03 01:53:26 +05:30
|
|
|
#
|
2019-11-03 21:51:06 +05:30
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
2018-08-03 01:53:26 +05:30
|
|
|
#
|
2019-11-03 21:51:06 +05:30
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2018-08-03 01:53:26 +05:30
|
|
|
#
|
2019-11-03 21:51:06 +05:30
|
|
|
# You should have received a copy of the GNU General Public License along
|
|
|
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2018-08-03 01:53:26 +05:30
|
|
|
|
2019-11-05 12:43:55 +05:30
|
|
|
SUBDIRS = example man src test
|
2018-08-03 03:00:11 +05:30
|
|
|
doc_DATA = README.md ChangeLog.md syslog.conf
|
|
|
|
EXTRA_DIST = README.md ChangeLog.md syslog.conf
|
2018-08-03 01:53:26 +05:30
|
|
|
|
2019-11-13 14:48:10 +05:30
|
|
|
if HAVE_SYSTEMD
|
|
|
|
systemd_DATA = syslogd.service
|
|
|
|
if ENABLE_KLOGD
|
|
|
|
systemd_DATA += klogd.service
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2018-08-03 01:53:26 +05:30
|
|
|
#
|
|
|
|
# Target to run when building a release
|
|
|
|
#
|
|
|
|
release: distcheck
|
|
|
|
@for file in $(DIST_ARCHIVES); do \
|
|
|
|
md5sum $$file > ../$$file.md5; \
|
|
|
|
done
|
|
|
|
@mv $(DIST_ARCHIVES) ../
|
|
|
|
@echo
|
|
|
|
@echo "Resulting release files:"
|
|
|
|
@echo "================================================================="
|
|
|
|
@for file in $(DIST_ARCHIVES); do \
|
|
|
|
printf "$$file \tDistribution tarball\n"; \
|
|
|
|
printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' '; \
|
|
|
|
done
|
2019-11-15 15:37:46 +05:30
|
|
|
|
|
|
|
# Workaround for systemd unit file duing distcheck
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --with-systemd=$$dc_install_base/$(systemd)
|