X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2FautoMakefile.am;h=e8b2d0e41535d5947f4ea7c168520624f9258c7a;hp=163032b8423db8efc0a05e93dbc5cb0835e42b74;hb=fd0bd149e66cbc06a17c372e159f9bfba024cc97;hpb=bb82568ca39a55bfdcf9977be972d1dea8a705e1 diff --git a/ldiskfs/autoMakefile.am b/ldiskfs/autoMakefile.am index 163032b..e8b2d0e 100644 --- a/ldiskfs/autoMakefile.am +++ b/ldiskfs/autoMakefile.am @@ -10,4 +10,14 @@ 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