endif
endif
+@TESTS_TRUE@BUILD_TESTS = true
+@TESTS_FALSE@BUILD_TESTS = false
+
include build/autoMakefile.am.toplevel
EXTRA_DIST += config.h.in
+if USES_DPKG
+EXTRA_DIST += debian/*
+endif
+
if LDISKFS_ENABLED
if !LDISKFS_IN_KERNEL
@SYMVERFILE@: @LDISKFS_DIR@/@SYMVERFILE@
[ -f ${CSTK} -a ! -s ${CSTKO} ] && mv -f ${CSTK} ${CSTKO} || true
{ for MOD in $$(find . -name "*.ko"); do \
objdump -d $$MOD | perl build/checkstack.pl; \
- done } | grep -v " bug " | sort -nru > ${CSTK}
+ done } | grep -v " bug " | sort -nr | uniq > ${CSTK}
[ -f ${CSTKO} ] && ! diff -u ${CSTKO} ${CSTK} || head -30 ${CSTK}
checkstack-update:
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/"; \
fi
+ if [ -d .git ]; then \
+ build/extract_patches $(distdir); \
+ if grep -e "^--- .*\/autoconf" -e "^--- .*\/Makefile\.am" -e ".*\/configure\.ac" -e ".*\/configure\.in" $(distdir)/debian/patches/*; then \
+ cp build/autogen.sh $(distdir)/build; \
+ cp libsysio/autogen.sh $(distdir)/libsysio; \
+ cp lustre-iokit/autogen.sh $(distdir)/lustre-iokit; \
+ fi; \
+ mkdir empty; \
+ diff -urN empty $(distdir)/debian > debian.diff; \
+ rm -rf $(distdir)/debian; \
+ rmdir empty; \
+ fi