linux-pam/Makefile.am
Dmitry V. Levin a7eb114974 build: do not distribute historic changelog files
Since 2011, ChangeLog file is generated from git log history.
ChangeLog-CVS is a historic changelog file that was maintained before
the project was migrated from cvs to git.
CHANGELOG is another historic changelog file that was replaced by
ChangeLog in 2005.
modules/pam_unix/CHANGELOG is the oldest of historic changelog files,
it is not maintained since 1999.

All these historic changelog files are no longer relevant, so they are
no longer included into release tarballs.
2024-05-15 08:00:00 +00:00

54 lines
1.1 KiB
Makefile

#
# Copyright (c) 2005, 2006, 2007 Thorsten Kukuk <kukuk@thkukuk.de>
#
AUTOMAKE_OPTIONS = 1.9 gnu dist-xz no-dist-gzip check-news
SUBDIRS = libpam_internal libpam tests libpamc libpam_misc modules po conf \
xtests
if HAVE_DOC
SUBDIRS += doc
endif
if HAVE_EXAMPLES
SUBDIRS += examples
endif
CLEANFILES = *~
EXTRA_DIST = pgp.keys.asc Copyright
ACLOCAL_AMFLAGS = -I m4
release: dist releasedocs
release-docs: releasedocs
releasedocs:
rm -rf Linux-PAM-$(VERSION)
mkdir -p Linux-PAM-$(VERSION)/doc
make -C doc releasedocs
tar Jfc Linux-PAM-$(VERSION)-docs.tar.xz \
Linux-PAM-$(VERSION)/doc
rm -rf Linux-PAM-$(VERSION)
xtests:
make -C xtests xtests
.PHONY: xtests
gen_changelog_start_date = 2011-10-26
gen-ChangeLog:
if test -d .git; then \
$(top_srcdir)/gitlog-to-changelog --append-dot \
--since=$(gen_changelog_start_date) \
> $(distdir)/ChangeLog.new && \
rm -f $(distdir)/ChangeLog && \
mv $(distdir)/ChangeLog.new $(distdir)/ChangeLog; \
fi
dist-hook: gen-ChangeLog
.PHONY: gen-ChangeLog
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX