mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
01f146c28e
The ChangeLog file is distributed, and cannot be regenerated outside of the git repository, so do not remove it in DISTCLEANFILES, and move the generation code into dist-hook, which also avoids unnecessary computation during normal builds.
17 lines
294 B
Makefile
17 lines
294 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = include man src test
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
EXTRA_DIST = \
|
|
autogen \
|
|
get-version \
|
|
$(nil)
|
|
|
|
dist-hook:
|
|
echo $(VERSION) >$(distdir)/.dist-version
|
|
if [ -d .git ]; then \
|
|
git log --stat -C >$(distdir)/ChangeLog; \
|
|
fi
|