614cb78aef
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
# Copyright (c) 2018 Joachim Nilsson <troglobit@gmail.com>
|
|
#
|
|
# This file is part of the sysklogd package, a kernel and system log daemon.
|
|
#
|
|
# 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.
|
|
#
|
|
# 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.
|
|
#
|
|
# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
SUBDIRS = src man
|
|
doc_DATA = README.md ChangeLog.md syslog.conf
|
|
EXTRA_DIST = README.md ChangeLog.md syslog.conf
|
|
|
|
#
|
|
# 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
|