X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autoMakefile.am;h=ccf30fc68faf4899ac739d31c52c0106f0a0cad1;hp=3cffd9cb0d97f493459ff418aaf980899d452642;hb=3854ffeb3e4e8bedf9c7617ea4746b96c5bf0a6c;hpb=116e447c76389f6eefdb818a6be5fbe475bc8dd1 diff --git a/autoMakefile.am b/autoMakefile.am index 3cffd9c..ccf30fc 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -1,10 +1,10 @@ SUBDIRS := @LDISKFS_SUBDIR@ @SPL_SUBDIR@ @ZFS_SUBDIR@ . @LIBSYSIO_SUBDIR@ @SNMP_SUBDIR@ @LUSTREIOKIT_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre -DIST_SUBDIRS := @SNMP_DIST_SUBDIR@ libsysio ldiskfs @LUSTREIOKIT_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre +DIST_SUBDIRS := @SNMP_DIST_SUBDIR@ libsysio ldiskfs lustre-iokit @LIBCFS_SUBDIR@ lnet lustre SOURCES_SUBDIRS := @LDISKFS_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre RPM_SUBDIRS := @LDISKFS_SUBDIR@ @LUSTREIOKIT_SUBDIR@ if LDISKFS_ENABLED if !LDISKFS_IN_KERNEL -EXTRA_SOURCES := @SYMVERFILE@ +SYMVERFILE_DEPENDECY := @SYMVERFILE@ endif endif @@ -13,10 +13,17 @@ endif include build/autoMakefile.am.toplevel -EXTRA_DIST += config.h.in debian/* +EXTRA_DIST += config.h.in + +if USES_DPKG +EXTRA_DIST += debian/* +endif if LDISKFS_ENABLED if !LDISKFS_IN_KERNEL + +EXTRA_DIST += @SYMVERFILE@ + @SYMVERFILE@: @LDISKFS_DIR@/@SYMVERFILE@ touch @SYMVERFILE@ -grep -v ldiskfs @SYMVERFILE@ > @SYMVERFILE@.old @@ -42,9 +49,12 @@ checkstack-clean: module-dist-hook: if [ -d CVS -o -d .git ]; then \ - perl lustre/scripts/tree_status.pl > $(distdir)/tree_status; \ - elif [ -f tree_status ]; then \ - cp tree_status $(distdir)/tree_status; \ + perl lustre/scripts/make_META.pl > $(distdir)/META; \ + cp $(distdir)/META $(distdir)/ldiskfs/META; \ + elif [ -f META ]; then \ + cp META $(distdir)/META; \ + cp $(distdir)/META $(distdir)/ldiskfs/META; \ else \ - echo -e "I have no idea how to create a tree_status file in $(distdir).\nPlease file a bug at http://bugzilla.lustre.org/"; \ + 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