Commit 87f369dc authored by John Stebbins's avatar John Stebbins

build: Allow building outside git tree

Fixes failure to build if ChangeLog does not exist
parent 620e5464
......@@ -8,7 +8,7 @@ MAINTAINERCLEANFILES = ChangeLog
ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
test -s $(@)-tmp && mv $(@)-tmp $(@)
-test -s $(@)-tmp && mv $(@)-tmp $(@)
-rm -f $(@)-tmp
test -e $(@) || touch $(@)
......
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