X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2FautoMakefile.am;h=2b5f9ecb609dbd26bec36ca70cf12f585b2974f4;hb=d551b2293327635f3aeb667470a2b4fe13cbbc75;hp=12759cd85a8d1103dfa39988a23252d34682e988;hpb=024f73f167a23cefba8f5a63fd6d969914900208;p=fs%2Flustre-release.git diff --git a/ldiskfs/autoMakefile.am b/ldiskfs/autoMakefile.am index 12759cd..2b5f9ec 100644 --- a/ldiskfs/autoMakefile.am +++ b/ldiskfs/autoMakefile.am @@ -1,9 +1,24 @@ -SUBDIRS := . ldiskfs -SOURCES_SUBDIRS := ldiskfs -DIST_SUBDIRS := ldiskfs +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_SERVER = true +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