Whamcloud - gitweb
Use slightly more robust way of making configure depend on lustre.spec.in
[fs/lustre-release.git] / lustre / Makefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 AUTOMAKE_OPTIONS = foreign
7
8 # NOTE: keep extN before mds
9 SUBDIRS = lov utils obdclass ldlm ptlrpc llite lib obdecho mdc osc extN 
10 SUBDIRS+=  mds ost tests obdfilter demos doc scripts 
11 DIST_SUBDIRS = $(SUBDIRS)
12 EXTRA_DIST = BUGS FDL Rules include patches archdep.m4
13
14 # We get the version from the spec file.
15 CONFIGURE_DEPENDENCIES = scripts/lustre.spec.in
16
17 dist-hook:
18         find $(distdir) -name .deps | xargs rm -rf
19         find $(distdir) -name CVS | xargs rm -rf
20
21 include $(top_srcdir)/Rules
22
23 rpms: dist Makefile
24         rpm -ta $(distdir).tar.gz
25