From c9b0095122c8cd0895098bc021abda86a15b28ee Mon Sep 17 00:00:00 2001
From: jacob <jacob>
Date: Fri, 9 Jan 2004 20:27:17 +0000
Subject: [PATCH] b=2502

fix a bug in --disable-doc handling, and add snapfs to DISTDIRS
---
 lustre/Makefile.am            | 2 +-
 lustre/scripts/lustre.spec.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/Makefile.am b/lustre/Makefile.am
index fc9ef85886..ec38dc9e9b 100644
--- a/lustre/Makefile.am
+++ b/lustre/Makefile.am
@@ -22,7 +22,7 @@ if SNAPFS
 SUBDIRS+= snapfs
 endif
 
-DIST_SUBDIRS = $(SUBDIRS) liblustre
+DIST_SUBDIRS = $(SUBDIRS) liblustre snapfs
 EXTRA_DIST = BUGS FDL Rules kernel_patches
 
 # We get the version from the spec file.
diff --git a/lustre/scripts/lustre.spec.in b/lustre/scripts/lustre.spec.in
index 974a91d23a..983e7ce08b 100644
--- a/lustre/scripts/lustre.spec.in
+++ b/lustre/scripts/lustre.spec.in
@@ -62,7 +62,7 @@ Configures openldap server for LDAP Lustre config database
 %setup -qn lustre-%{version}
 #%setup -c -n lustre-%{version}-lib
 %if %{enable_doc}
-  %define disable_doc
+  %define disable_doc ''
 %else
   %define disable_doc --disable-doc
 %endif
-- 
GitLab