X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2FautoMakefile.am;h=04a00aae801d111c6e4dd4e0b1c898f600e6e53a;hp=b73008ece6099fec2226e650f6bcc3bc5265b321;hb=a296e9433919a6d709ae7826ecc5310d9e2d1365;hpb=eace6f7fc7147fd614bb1cd4c6d435caa07460e3 diff --git a/ldiskfs/autoMakefile.am b/ldiskfs/autoMakefile.am index b73008e..04a00aa 100644 --- a/ldiskfs/autoMakefile.am +++ b/ldiskfs/autoMakefile.am @@ -2,6 +2,22 @@ SUBDIRS := . ldiskfs SOURCES_SUBDIRS := ldiskfs DIST_SUBDIRS := ldiskfs -include build/autoMakefile.toplevel.am +# this is in fact irrelevant in this file but needed to keep +# autoMakefile.am.toplevel happy +BUILD_TESTS = false + +include build/autoMakefile.am.toplevel EXTRA_DIST += kernel_patches + +# this only needs to be done if disting stand-alone (i.e. not as a +# subdir of lustre +module-dist-hook: + if ! grep "AC_INIT(\[Lustre\], \[LUSTRE_VERSION\], \[http:\/\/bugs\.whamcloud\.com\/], \[lustre\])" ../configure.ac; then \ + if [ -f META ]; then \ + cp META $(distdir)/META; \ + else \ + echo -e "I have no idea how to create a META file in $(distdir).\nPlease file a bug at http://bugs.whamcloud.com/"; \ + exit 1; \ + fi; \ + fi