X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=autoMakefile.am;h=484fdcfbc5aba73eb29d02ac3b717185772e6a55;hb=709c83783504111e8b355d6d68f51394e1563221;hp=45c2f7738e61ddbc17d39160986e927299a3e67d;hpb=4367553a968c89ca8bb285a7f8fba0a276854e26;p=fs%2Flustre-release.git diff --git a/autoMakefile.am b/autoMakefile.am index 45c2f77..484fdcf 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -1,6 +1,6 @@ SUBDIRS := @LDISKFS_SUBDIR@ @SPL_SUBDIR@ @ZFS_SUBDIR@ . @LIBSYSIO_SUBDIR@ @SNMP_SUBDIR@ @LUSTREIOKIT_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre DIST_SUBDIRS := @LDISKFS_DIST_SUBDIR@ @SNMP_DIST_SUBDIR@ libsysio lustre-iokit @LIBCFS_SUBDIR@ lnet lustre -SOURCES_SUBDIRS := @LDISKFS_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre +SOURCES_SUBDIRS := @LIBCFS_SUBDIR@ lnet lustre RPM_SUBDIRS := @LDISKFS_SUBDIR@ @LUSTREIOKIT_SUBDIR@ MODULE_SYMVERS_DEPS = module-symvers @@ -77,12 +77,15 @@ checkstack-clean: module-dist-hook: if [ -d CVS -o -d .git ]; then \ - perl lustre/scripts/make_META.pl > $(distdir)/META; \ - cp $(distdir)/META $(distdir)/ldiskfs/META; \ + perl lustre/scripts/make_META.pl > $(distdir)/META; \ elif [ -f META ]; then \ - cp META $(distdir)/META; \ - cp $(distdir)/META $(distdir)/ldiskfs/META; \ + 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; \ + 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 +if LDISKFS_ENABLED + if [ -f $(distdir)/META -a -d $(distdir)/ldiskfs ]; then \ + cp $(distdir)/META $(distdir)/ldiskfs/META; \ fi +endif