pam-modules/Makefile.am
2022-02-04 09:38:17 +02:00

66 lines
1.9 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-13
.PHONY: ChangeLog
ChangeLog:
$(AM_V_GEN)if test -d .git; then \
git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \
awk -f $(top_srcdir)/git2chg.awk \
-vsince="$(gen_start_date)" -vappend="$(prev_change_log)" \
> ChangeLog.tmp; \
cmp ChangeLog ChangeLog.tmp > /dev/null 2>&1 || \
mv ChangeLog.tmp ChangeLog; \
rm -f ChangeLog.tmp; \
fi