Commit 4742c52a authored by Diego Biurrun's avatar Diego Biurrun Committed by Jean-Baptiste Kempf

build: proper dependencies for ChangeLog generation target

This fixes the ChangeLog file getting continuously rebuilt instead
of after each Git commit, which is the case now.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1d66d696
......@@ -6,13 +6,11 @@ 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
ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
test -s $(@)-tmp && mv $(@)-tmp $(@)
-rm -f $(@)-tmp
test -e $(@) || touch $(@)
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