SUBDIRS+= llite obdecho lov cobd tests doc scripts conf ptlrpc
endif
-DIST_SUBDIRS = $(SUBDIRS) liblustre
+if SNAPFS
+SUBDIRS+= snapfs
+endif
+
+DIST_SUBDIRS = $(SUBDIRS) liblustre snapfs
EXTRA_DIST = BUGS FDL Rules kernel_patches
# We get the version from the spec file.