summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: fa0f52ea1446695ee8cf5c1fb5a120cb0afc9778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
EXTRA_DIST = autogen.sh \
	COPYING-GPLV2 COPYING-LGPLV3 \
	INSTALL README AUTHORS THANKS NEWS \
	glusterfs.spec glusterfs-api.pc.in libgfchangelog.pc.in \
	error-codes.json gf-error-codes.h.template \
	gen-headers.py run-tests.sh \
	$(shell find $(top_srcdir)/tests -type f -print)

SUBDIRS = contrib/argp-standalone libglusterfs rpc api xlators glusterfsd \
	$(FUSERMOUNT_SUBDIR) doc extras cli @SYNCDAEMON_SUBDIR@

pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = glusterfs-api.pc libgfchangelog.pc

CLEANFILES =

gitclean: distclean
	find . -name Makefile.in -exec rm -f {} \;
	find . -name Makefile -exec rm -f {} \;
	find . -name mount.glusterfs -exec rm -f {} \;
	rm -fr autom4te.cache
	rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp
	rm -fr $(CONTRIBDIR)/argp-standalone/autom4te.cache
	rm -f $(CONTRIBDIR)/argp-standalone/aclocal.m4
	rm -f $(CONTRIBDIR)/argp-standalone/config.h.in
	rm -f $(CONTRIBDIR)/argp-standalone/configure
	rm -f $(CONTRIBDIR)/argp-standalone/depcomp
	rm -f $(CONTRIBDIR)/argp-standalone/install-sh
	rm -f $(CONTRIBDIR)/argp-standalone/missing

dist-hook:
	(cd $(srcdir) && git diff && echo ===== git log ==== && git log) > $(distdir)/ChangeLog