From 8c2e78233460539b22f8210c95c30cb71074410d Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 23 May 2002 23:18:01 +0000 Subject: [PATCH] Add the xattr files to the list of dependencies. Add a comment that the export patch can fail (this happens if the kernel source has already been patched to export ext3_bread()). --- lustre/extN/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/extN/Makefile.am b/lustre/extN/Makefile.am index d3ceadd..a14948d 100644 --- a/lustre/extN/Makefile.am +++ b/lustre/extN/Makefile.am @@ -55,12 +55,13 @@ patch-stamp: $(EXTNP) list='$(EXTNP)'; for p in $$list; do \ sed $(SUB) $(srcdir)/$$p | (cd $(top_srcdir); patch -p1); \ done; \ + echo "It is OK if the following patch fails"; \ + (cd $(top_srcdir); patch -N -p1) < $(srcdir)/extN-2.4.18-exports.diff; \ (cd $(top_srcdir); patch -p1) < $(srcdir)/extN-2.4.18-ino_sb_fixup.diff; \ - (cd $(top_srcdir); patch -p1) < $(srcdir)/extN-2.4.18-exports.diff; \ fi echo timestamp > patch-stamp -$(EXTNC) $(EXTNI): patch-stamp +$(EXTNC) $(EXTNI) $(EXTN_EXTRA): patch-stamp # Don't distribute any patched files. dist-hook: @@ -69,3 +70,4 @@ dist-hook: list='$(EXTNI)'; for i in $$list; do \ rm -f $(distdir)/../include/linux/$$i; \ done + list='$(EXTN_EXTRA)'; for f in $$list; do rm -f $(distdir)/../$$f; done -- 1.8.3.1