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

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 <>
parent 1d66d696
......@@ -6,13 +6,11 @@ dist_doc_DATA = AUTHORS COPYING NEWS README ChangeLog
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 $(@)
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