X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2FautoMakefile.am;h=e8b2d0e41535d5947f4ea7c168520624f9258c7a;hp=9e9a2cda497307711383a825293017ac15ec3830;hb=5a01ceecc3211bcd1e5597e5d9031f2ac368b4c8;hpb=ec31adcd4130b33b14e76ad10e55e6c3a86897cc diff --git a/ldiskfs/autoMakefile.am b/ldiskfs/autoMakefile.am index 9e9a2cd..e8b2d0e 100644 --- a/ldiskfs/autoMakefile.am +++ b/ldiskfs/autoMakefile.am @@ -2,6 +2,22 @@ SUBDIRS := . ldiskfs SOURCES_SUBDIRS := ldiskfs DIST_SUBDIRS := ldiskfs +# 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\], \[https:\/\/bugzilla\.lustre\.org\/], \[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://bugzilla.lustre.org/"; \ + exit 1; \ + fi; \ + fi