[libdvdnav-devel] [PATCH] build: Allow building outside git tree
John Stebbins
jstebbins at jetheaddev.com
Fri Aug 22 19:51:04 CEST 2014
Fixes failure to build if ChangeLog does not exist
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index e51764c..57ca371 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 $(@)
--
1.9.3
More information about the libdvdnav-devel
mailing list