Whamcloud - gitweb
explicitly set KVERS; allow all automake packages
authorBrian J. Murrell <brian.murrell@oracle.com>
Thu, 23 Sep 2010 15:23:34 +0000 (11:23 -0400)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Thu, 23 Sep 2010 20:07:33 +0000 (00:07 +0400)
Explicitly set KVERS to what it'd default value would be if it's
not set by the caller.
Allow any of the compatible automake* packages in debian/control.

build/autoMakefile.am.toplevel
debian/control

index 919e90f..6c1f491 100644 (file)
@@ -217,6 +217,7 @@ debs:
        ln -s /usr/share/modass/packages/ usr_share_modass/ && \
        echo "lustre" > usr_share_modass/compliant.list && \
        export MA_DIR=$$(pwd)/usr_share_modass && \
+       KVERS=$${KVERS:-$(LINUXRELEASE)}; \
        m-a build $${KVERS:+-l $$KVERS} -i -u $$(pwd) lustre && \
        popd && \
        VER=$$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$$/\1/p' debian/changelog); \
index 81e7520..306f7c9 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Brian J. Murrell <brian@interlinx.bc.ca>
 Uploaders: Brian J. Murrell <brian@interlinx.bc.ca>
 Standards-Version: 3.8.3
-Build-Depends: libreadline-dev, debhelper (>=5.0.0), dpatch, automake (>=1.7), libsnmp-dev, bzip2, quilt, texlive-latex-recommended, linux-headers-generic | linux-headers, rsync
+Build-Depends: libreadline-dev, debhelper (>=5.0.0), dpatch, automake (>=1.7) | automake1.7 | automake1.8 | automake1.9, libsnmp-dev, bzip2, quilt, texlive-latex-recommended, linux-headers-generic | linux-headers, rsync
 Homepage: http://www.lustre.org/
 Vcs-Cvs: -d :pserver:anonymous@cvs.lustre.org:/lustre