2012-07-12 15:51:41 -07:00
EXTRA_DIST = autogen.sh \
COPYING-GPLV2 COPYING-LGPLV3 \
INSTALL README AUTHORS THANKS NEWS \
2013-06-04 14:20:58 +05:30
glusterfs.spec glusterfs-api.pc.in libgfchangelog.pc.in \
2014-05-08 12:30:23 -03:00
run-tests.sh \
2014-02-27 12:39:43 +05:30
build-aux/pkg-version \
2014-04-22 13:27:35 -07:00
build-aux/xdrgen \
2014-04-10 14:43:47 -04:00
contrib/argp-standalone \
2014-10-06 22:46:44 +02:00
contrib/umountd \
2013-09-15 19:56:25 -07:00
$( shell find $( top_srcdir) /tests -type f -print)
2009-02-18 17:36:07 +05:30
2014-04-10 14:43:47 -04:00
SUBDIRS = $( ARGP_STANDALONE_DIR) libglusterfs rpc api xlators glusterfsd \
2013-12-15 08:05:04 +05:30
$( FUSERMOUNT_SUBDIR) doc extras cli heal @SYNCDAEMON_SUBDIR@ \
2014-09-21 13:57:47 +02:00
@UMOUNTD_SUBDIR@
2009-02-18 17:36:07 +05:30
2012-07-12 15:51:41 -07:00
pkgconfigdir = @pkgconfigdir@
2013-06-04 14:20:58 +05:30
pkgconfig_DATA = glusterfs-api.pc libgfchangelog.pc
2012-07-12 15:51:41 -07:00
CLEANFILES =
2009-02-18 17:36:07 +05:30
2009-03-09 10:31:53 -07:00
gitclean : distclean
2009-02-18 17:36:07 +05:30
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
2014-04-10 14:43:47 -04:00
-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
2015-01-19 10:20:28 +01:00
-rm -fr $( CONTRIBDIR) /argp-standalone/.deps
2014-04-10 14:43:47 -04:00
-rm -f $( CONTRIBDIR) /argp-standalone/install-sh
-rm -f $( CONTRIBDIR) /argp-standalone/missing
2012-11-26 20:02:18 -08:00
2014-02-27 12:39:43 +05:30
dist-hook : gen -VERSION gen -ChangeLog
2015-01-19 10:20:28 +01:00
-rm -fr $( distdir) /contrib/argp-standalone/autom4te.cache
-rm -fr $( distdir) /contrib/argp-standalone/.deps
-rm -fr $( distdir) /contrib/umountd/.deps
2014-02-27 12:39:43 +05:30
.PHONY : gen -VERSION gen -ChangeLog
gen-ChangeLog :
2013-01-30 11:29:54 -05:00
( cd $( srcdir) && git diff && echo = = = = = git log = = = = && git log) > $( distdir) /ChangeLog
2014-02-27 12:39:43 +05:30
gen-VERSION :
if test -d .git; then \
$( top_srcdir) /build-aux/pkg-version --full \
> $( distdir) /VERSION; \
fi