pam-modules/Makefile.am
Sergey Poznyakoff d5165ae303 Update NEWS and THANKS files
Build the ChangeLog file using plain git, without auxiliary awk formatter.
2022-02-04 10:18:05 +02:00

71 lines
2.3 KiB
Makefile

## This file is part of pam-modules.
## Copyright (C) 2001-2022 Sergey Poznyakoff
##
## 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 3, 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, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4 -I imprimatur
SUBDIRS = \
imprimatur\
doc\
examples\
lib\
pam_sql\
pamck
if PAM_COND_FSHADOW
SUBDIRS += pam_fshadow
endif
if PAM_COND_REGEX
SUBDIRS += pam_regex
endif
if PAM_COND_LOG
SUBDIRS += pam_log
endif
if PAM_COND_LDAPHOME
SUBDIRS += pam_ldaphome
endif
if PAM_COND_UMOTD
SUBDIRS += pam_umotd
endif
if PAM_COND_GROUPMEMBER
SUBDIRS += pam_groupmember
endif
if PAM_COND_INNETGR
SUBDIRS += pam_innetgr
endif
EXTRA_DIST=ChangeLog.svn
# Name of the previous ChangeLog file.
prev_change_log = ChangeLog.svn
# Start Git ChangeLog from this date.
gen_start_date = 2012-05-14
.PHONY: ChangeLog
ChangeLog:
$(AM_V_GEN)if test -d .git; then \
(git log --pretty='format:%ad %cn <%ae>%n%n%w(72,8,8)%s%n%n%b' \
--date=short --since=$(gen_start_date); \
echo ""; \
cat ChangeLog.svn; \
echo ""; \
echo "Local Variables:"; \
echo "mode: change-log"; \
echo "version-control: never"; \
echo "buffer-read-only: t"; \
echo "End:"; \
echo ""; \
sed -n -e '2,/^$$/s/^##//p' Makefile.am) > ChangeLog; \
fi