Whamcloud - gitweb
LU-718 mds: new MDS layer.
[fs/lustre-release.git] / ldiskfs / autoMakefile.am
index b73008e..c57711f 100644 (file)
@@ -1,7 +1,16 @@
-SUBDIRS := . ldiskfs
-SOURCES_SUBDIRS := ldiskfs
-DIST_SUBDIRS := ldiskfs
+SUBDIRS = . ldiskfs
+SOURCES_SUBDIRS = ldiskfs
+DIST_SUBDIRS = ldiskfs
 
-include build/autoMakefile.toplevel.am
+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; \
+           fi; \
+       fi