[libdvdnav-devel] build: Allow building outside git tree

John Stebbins git at videolan.org
Mon Aug 25 17:02:44 CEST 2014


libdvdread | branch: master | John Stebbins <jstebbins at jetheaddev.com> | Fri Aug 22 10:43:58 2014 -0700| [87f369dc49d639028b71ebb043f8fd8cc7b87c60] | committer: John Stebbins

build: Allow building outside git tree

Fixes failure to build if ChangeLog does not exist

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=87f369dc49d639028b71ebb043f8fd8cc7b87c60
---

 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 $(@)
 



More information about the libdvdnav-devel mailing list