bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: ensure that a release build fails when a submodule is


From: Eric Blake
Subject: Re: [PATCH] build: ensure that a release build fails when a submodule is unclean
Date: Sun, 03 May 2009 07:26:10 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

According to Jim Meyering on 5/2/2009 2:34 PM:
> * top/maint.mk (no-submodule-changes): New rule.
> (alpha beta major): Depend on it.
> +.PHONY: no-submodule-changes
> +no-submodule-changes:
> +     if test -d .git; then                                           \

Can we please make this VPATH safe?  $(srcdir)/.git

> +       diff=$$(git submodule -q foreach git diff-index --name-only HEAD) \

diff=$$(cd $(srcdir) && git submodule...

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]