Always try to dist debian stuff, so that even on non-dpkg-using
build targets (RHEL series), the tar dist will contain all debian
stuff, and can be delivered to users who want to build lustre on
debian series servers.
Test-Parameters: trivial
Change-Id: I8493f5a5e65078c0160c5493efee6906c87db6f1
Signed-off-by: Gu Zheng <gzheng@ddn.com>
Reviewed-on: https://review.whamcloud.com/33246
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
../lustre_$${VER}.tar.gz ../lustre-*-modules-dkms_$${VER}_*.deb \
debs/
-if USES_DPKG
EXTRA_DIST += debian/*
-endif
CSTK=/tmp/checkstack
CSTKO=/tmp/checkstack.orig
])
#
-# LB_USES_DPKG
-#
-# Determine if the target is a dpkg system or rpm
-#
-AC_DEFUN([LB_USES_DPKG], [
-AC_CACHE_CHECK([if this distro uses dpkg], lb_cv_uses_dpkg, [
-lb_cv_uses_dpkg="no"
-AS_CASE([$(lsb_release -i -s 2>/dev/null)],
- [Ubuntu | Debian], [lb_cv_uses_dpkg="yes"])
-])
-uses_dpkg=$lb_cv_uses_dpkg
-])
-
-#
# LB_CHECK_EXPORT
#
# check symbol exported or not
AM_CONDITIONAL([DOC], [test x$ENABLE_DOC = x1])
AM_CONDITIONAL([MANPAGES], [test x$enable_manpages = xyes])
AM_CONDITIONAL([LINUX], [test x$lb_target_os = xlinux])
-AM_CONDITIONAL([USES_DPKG], [test x$uses_dpkg = xyes])
AM_CONDITIONAL([USE_QUILT], [test x$use_quilt = xyes])
AM_CONDITIONAL([RHEL], [test x$RHEL_KERNEL = xyes])
AM_CONDITIONAL([SUSE], [test x$SUSE_KERNEL = xyes])
LB_CONFIG_DIST
LB_DOWNSTREAM_RELEASE
-LB_USES_DPKG
LB_LIBCFS_DIR