Commit 05970927 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò

build: generate ChangeLog from git, if git is present.

This would work both from the repository and from the tarball.
parent 75590b88
......@@ -11,6 +11,7 @@
.libs
/m4/libtool.m4
/m4/lt*.m4
ChangeLog
Makefile
Makefile.in
aclocal.m4
......
......@@ -2,7 +2,17 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = libdvdcss.spec doc/header.html doc/footer.html doc/latex/ INSTALL
dist_doc_DATA = AUTHORS COPYING NEWS README
dist_doc_DATA = AUTHORS COPYING NEWS README ChangeLog
DISTCLEANFILES = ChangeLog
ChangeLog: stamp-changelog
stamp-changelog:
-git log > ChangeLog-tmp
test -s ChangeLog-tmp && mv ChangeLog-tmp ChangeLog
-rm -f ChangeLog-tmp
test -e ChangeLog || touch ChangeLog
lib_LTLIBRARIES = libdvdcss.la
EXTRA_PROGRAMS = csstest dvd_region
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment