path: root/
diff options
authorKaleb S KEITHLEY <>2015-11-13 14:27:48 -0500
committerNiels de Vos <>2015-11-16 00:47:42 -0800
commit24f2173e391a517901750138db95bff3f0bd026e (patch)
tree655a3ce69ceb1aac6e53ae2a3e625759fc3485e5 /
parentab0152f08dc9c190afa237a877345969b6f399f7 (diff)
build: `make distclean` doesn't clean all it ought to, needs to
Debian builds fail to "build twice in a row" due to left over files remaining after running `make distclean` The main culprits are files created from *.in files during ./configure. In particular these are ./glusterfs-api.pc, ./libgfchangelog.pc, ./libgfdb.pc, and ./tests/env.rc. The strange one is contrib/umountd/Makefile{,.in}. While these are created by ./configure - for reasons I don't quite fathom, perhaps because contrib/umountd is included in EXTRA_DIST - after that make and make distclean don't descend into the directory to build or clean it (because it's not needed for Linux, and not built.) Also removing the `find . -name Makefile -exec rm -f {}\;` from the gitclean target, it's not needed (redundant) as its prereq distclean target will have already removed them. Change-Id: I99b93a227775c580f4a56c3d870a161d2937000d BUG: 1279345 Signed-off-by: Kaleb S KEITHLEY <> Reviewed-on: Tested-by: NetBSD Build System <> Tested-by: Gluster Build System <> Reviewed-by: Milind Changire <> Reviewed-by: Niels de Vos <>
Diffstat (limited to '')
1 files changed, 3 insertions, 2 deletions
diff --git a/ b/
index 628bc48..2865c6b 100644
--- a/
+++ b/
@@ -20,12 +20,13 @@ if USE_GFDB
pkgconfig_DATA += libgfdb.pc
+CLEANFILES = glusterfs-api.pc libgfchangelog.pc libgfdb.pc \
+ tests/env.rc contrib/umountd/Makefile{,.in}
gitclean: distclean
find . -name -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.guess config.sub install-sh configure depcomp