1 EXTRA_DIST = autogen.sh \
2 COPYING-GPLV2 COPYING-LGPLV3 \
3 INSTALL README.md AUTHORS THANKS NEWS \
4 glusterfs.spec glusterfs-api.pc.in libgfchangelog.pc.in libgfdb.pc.in \
6 build-aux/pkg-version \
8 contrib/argp-standalone \
11 $(shell find $(top_srcdir)/tests -type f -print)
13 SUBDIRS = $(ARGP_STANDALONE_DIR) libglusterfs rpc api xlators glusterfsd \
14 $(FUSERMOUNT_SUBDIR) doc extras cli heal @SYNCDAEMON_SUBDIR@ \
15 @UMOUNTD_SUBDIR@ tools
17 pkgconfigdir = @pkgconfigdir@
18 pkgconfig_DATA = glusterfs-api.pc libgfchangelog.pc
20 pkgconfig_DATA += libgfdb.pc
24 CONFIG_CLEAN_FILES = $(CONTRIB_BUILDDIR)/uuid/uuid_types.h
27 find . -name Makefile.in -exec rm -f {} \;
28 find . -name Makefile \( ! -path "$(top_srcdir)/extras/FreeBSD/*" \
29 ! -path "$(top_srcdir)/extras/command-completion/*" \
30 ! -path "$(top_srcdir)/extras/test/*" \) -exec rm -f {} \;
31 find . -name mount.glusterfs -exec rm -f {} \;
33 rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp
34 -rm -fr $(CONTRIBDIR)/argp-standalone/autom4te.cache
35 -rm -f $(CONTRIBDIR)/argp-standalone/aclocal.m4
36 -rm -f $(CONTRIBDIR)/argp-standalone/config.h.in
37 -rm -f $(CONTRIBDIR)/argp-standalone/configure
38 -rm -f $(CONTRIBDIR)/argp-standalone/config.status
39 -rm -f $(CONTRIBDIR)/argp-standalone/config.log
40 -rm -f $(CONTRIBDIR)/argp-standalone/depcomp
41 -rm -fr $(CONTRIBDIR)/argp-standalone/.deps
42 -rm -f $(CONTRIBDIR)/argp-standalone/install-sh
43 -rm -f $(CONTRIBDIR)/argp-standalone/missing
45 dist-hook: gen-VERSION gen-ChangeLog
46 -rm -fr $(distdir)/contrib/argp-standalone/autom4te.cache
47 -rm -fr $(distdir)/contrib/argp-standalone/.deps
48 -rm -fr $(distdir)/contrib/umountd/.deps
49 -rm -fr $(distdir)/config.{guess,sub}
51 .PHONY: gen-VERSION gen-ChangeLog
54 (cd $(srcdir) && git diff && echo ===== git log ==== && git log) > $(distdir)/ChangeLog
57 if test -d $(top_srcdir)/.git; then \
59 ./build-aux/pkg-version --full \
60 > $(abs_top_builddir)/$(distdir)/VERSION; \