Whamcloud - gitweb
b=21380 make dist seems to exclude the "darwin" bits
authorBrian J. Murrell <brian@sun.com>
Wed, 3 Mar 2010 01:32:48 +0000 (17:32 -0800)
committerRobert Read <rread@sun.com>
Wed, 3 Mar 2010 01:32:48 +0000 (17:32 -0800)
Include all of the darwin bits in the distribution tarball created with
make dist.

i=adilger
i=rread

build/autoMakefile.am.toplevel
build/autoconf/Makefile.am
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/darwin/Makefile.am
libcfs/libcfs/autoMakefile.am
lnet/autoconf/lustre-lnet.m4
lnet/include/lnet/Makefile.am
lustre/autoconf/lustre-core.m4
lustre/obdclass/autoMakefile.am

index 9c17b56..c95f165 100644 (file)
@@ -104,6 +104,7 @@ EXTRA_DIST = @PACKAGE_TARNAME@.spec                                 \
        build/sles8-update_INITRD_MODULES.sh                            \
        build/sles8-update_rcfile_setting.sh build/update_oldconfig     \
        build/autoconf/lustre-build-linux.m4                            \
        build/sles8-update_INITRD_MODULES.sh                            \
        build/sles8-update_rcfile_setting.sh build/update_oldconfig     \
        build/autoconf/lustre-build-linux.m4                            \
+       build/autoconf/lustre-build-darwin.m4                           \
        build/autoconf/lustre-build.m4 build/rdac_spec                  \
        build/mptlinux.spec.patch build/patches
 
        build/autoconf/lustre-build.m4 build/rdac_spec                  \
        build/mptlinux.spec.patch build/patches
 
index 5ee4381..be0f4fb 100644 (file)
@@ -1,4 +1 @@
-EXTRA_DIST := lustre-build.m4 lustre-build-linux.m4
-if DARWIN
-EXTRA_DIST += lustre-build-darwin.m4
-endif
+EXTRA_DIST := lustre-build.m4 lustre-build-linux.m4 lustre-build-darwin.m4
index 5d063ed..c908fc3 100644 (file)
@@ -920,13 +920,7 @@ libcfs/libcfs/linux/Makefile
 libcfs/libcfs/ulinux/Makefile
 libcfs/libcfs/posix/Makefile
 libcfs/libcfs/util/Makefile
 libcfs/libcfs/ulinux/Makefile
 libcfs/libcfs/posix/Makefile
 libcfs/libcfs/util/Makefile
-])
-case $lb_target_os in
-       darwin)
-               AC_CONFIG_FILES([
 libcfs/include/libcfs/darwin/Makefile
 libcfs/libcfs/darwin/Makefile
 ])
 libcfs/include/libcfs/darwin/Makefile
 libcfs/libcfs/darwin/Makefile
 ])
-               ;;
-esac
 ])
 ])
index b8e5907..faf9c72 100644 (file)
@@ -2,7 +2,7 @@ SUBDIRS := linux posix util
 if DARWIN
 SUBDIRS += darwin
 endif
 if DARWIN
 SUBDIRS += darwin
 endif
-DIST_SUBDIRS := $(SUBDIRS)
+DIST_SUBDIRS := linux posix util darwin
 
 EXTRA_DIST := curproc.h libcfs_private.h libcfs.h list.h lltrace.h \
                user-lock.h user-prim.h user-time.h user-mem.h \
 
 EXTRA_DIST := curproc.h libcfs_private.h libcfs.h list.h lltrace.h \
                user-lock.h user-prim.h user-time.h user-mem.h \
index b37750e..ead910d 100644 (file)
@@ -1,3 +1,3 @@
-EXTRA_DIST := darwin-mem.h darwin-types.h libcfs.                       \
+EXTRA_DIST := darwin-mem.h darwin-types.h libcfs.h                      \
        darwin-fs.h darwin-prim.h darwin-utils.h lltrace.h              \
        darwin-lock.h darwin-sync.h darwin-tcpip.h kp30.h
        darwin-fs.h darwin-prim.h darwin-utils.h lltrace.h              \
        darwin-lock.h darwin-sync.h darwin-tcpip.h kp30.h
index 42d7b58..b70e72e 100644 (file)
@@ -38,7 +38,7 @@ SUBDIRS := linux util posix ulinux
 if DARWIN
 SUBDIRS += darwin
 endif
 if DARWIN
 SUBDIRS += darwin
 endif
-DIST_SUBDIRS := $(SUBDIRS)
+DIST_SUBDIRS := linux util posix ulinux darwin
 
 if LIBLUSTRE
 noinst_LIBRARIES= libcfs.a
 
 if LIBLUSTRE
 noinst_LIBRARIES= libcfs.a
index 15c98af..427c153 100644 (file)
@@ -1128,12 +1128,6 @@ lnet/ulnds/autoMakefile
 lnet/ulnds/socklnd/Makefile
 lnet/ulnds/ptllnd/Makefile
 lnet/utils/Makefile
 lnet/ulnds/socklnd/Makefile
 lnet/ulnds/ptllnd/Makefile
 lnet/utils/Makefile
-])
-case $lb_target_os in
-       darwin)
-               AC_CONFIG_FILES([
 lnet/include/lnet/darwin/Makefile
 ])
 lnet/include/lnet/darwin/Makefile
 ])
-               ;;
-esac
 ])
 ])
index c4f4929..9b60bbd 100644 (file)
@@ -4,7 +4,7 @@ SUBDIRS := linux
 if DARWIN
 SUBDIRS += darwin
 endif
 if DARWIN
 SUBDIRS += darwin
 endif
-DIST_SUBDIRS := $(SUBDIRS)
+DIST_SUBDIRS := linux darwin
 
 EXTRA_DIST = api.h api-support.h \
        lib-lnet.h lib-types.h lnet.h lnetctl.h types.h \
 
 EXTRA_DIST = api.h api-support.h \
        lib-lnet.h lib-types.h lnet.h lnetctl.h types.h \
index bc1af26..277c22b 100644 (file)
@@ -2549,11 +2549,6 @@ lustre/tests/Makefile
 lustre/tests/mpi/Makefile
 lustre/utils/Makefile
 lustre/utils/gss/Makefile
 lustre/tests/mpi/Makefile
 lustre/utils/Makefile
 lustre/utils/gss/Makefile
+lustre/obdclass/darwin/Makefile
 ])
 ])
-case $lb_target_os in
-        darwin)
-                AC_CONFIG_FILES([ lustre/obdclass/darwin/Makefile ])
-                ;;
-esac
-
 ])
 ])
index df8d06d..fc64935 100644 (file)
@@ -2,7 +2,7 @@ SUBDIRS := linux
 if DARWIN
 SUBDIRS += darwin
 endif
 if DARWIN
 SUBDIRS += darwin
 endif
-DIST_SUBDIRS := $(SUBDIRS)
+DIST_SUBDIRS := linux darwin
 
 if LIBLUSTRE
 
 
 if LIBLUSTRE