Commit 96269118 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.
parent 2fce1ff4
......@@ -4,13 +4,11 @@ dist_doc_DATA = AUTHORS ChangeLog COPYING NEWS README TODO
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_DIST = msvc/ doc/footer.html doc/header.html
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