[libdvdcss-devel] [PATCH] build: proper dependencies for ChangeLog generation target

Diego Biurrun diego at biurrun.de
Tue Feb 19 16:51:31 CET 2013


On Tue, Feb 19, 2013 at 04:06:27PM +0100, Fabian Greffrath wrote:
> Am 19.02.2013 15:23, schrieb Diego Biurrun:
> >+ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
> >+	-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
> >+	test -s $(@)-tmp && mv $(@)-tmp $(@)
> >+	-rm -f $(@)-tmp
> 
> Won't the latter two lines need "$(abs_builddir)/$(@)-tmp" as well?

No, the command is run from the build directory; the first line only
needs it because of the cd.

Diego


More information about the libdvdcss-devel mailing list