Whamcloud - gitweb
LU-53 run autogen if a Makefile.am is patched 14/214/9
authorBrian J. Murrell <brian@whamcloud.com>
Tue, 29 Mar 2011 17:32:04 +0000 (13:32 -0400)
committerTerry Rutledge <terry.rutledge@oracle.com>
Tue, 29 Mar 2011 18:00:28 +0000 (11:00 -0700)
Signed-off-by: Brian J. Murrell <brian@whamcloud.com>
Change-Id: I40eb3cecff64a62c2eca212ed19263128ad4b50d

debian/rules

index 06ef5af..09da1a3 100755 (executable)
@@ -89,7 +89,12 @@ autogen-stamp: patch-stamp
        #  needed autogen.sh scripts
        #  see https://bugzilla.lustre.org/attachment.cgi?id=27156
        #  for an example)
-       if grep -e "^--- .*\/autoconf" -e ".*\/configure\.ac" -e ".*\/configure\.in" debian/patches/*; then \
+       if grep -e "^--- .*\/autoconf" \
+               -e "^--- .*\/autoMakefile\.am" \
+               -e "^--- .*\/Makefile\.am" \
+               -e ".*\/configure\.ac" \
+               -e ".*\/configure\.in" \
+               debian/patches/*; then \
                if [ ! -f build/autogen.sh ]; then \
                        echo "You have patches which require autogen.sh to be run, but it doesn't exist"; \
                        echo "Please see https://bugzilla.lustre.org/attachment.cgi?id=27156"; \