mirror of
https://github.com/gluster/glusterfs.git
synced 2026-02-05 06:47:35 +01:00
build: add custom clean rules
Make 'clean' and 'gitclean' even more cleaner by removing extra build leftovers. Change-Id: I9c261e1f029b8486f328aaa330f0476d44b58eac Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Updates: #1002
This commit is contained in:
committed by
Amar Tumballi
parent
5af2c685ed
commit
2b7455fe83
@@ -19,9 +19,13 @@ pkgconfig_DATA = glusterfs-api.pc libgfchangelog.pc
|
||||
|
||||
CLEANFILES = glusterfs-api.pc libgfchangelog.pc contrib/umountd/Makefile
|
||||
|
||||
clean-local:
|
||||
find . -name '*.o' -o -name '*.lo' -o -name '.Po' | xargs rm -f
|
||||
|
||||
gitclean: distclean
|
||||
find . -name Makefile.in -exec rm -f {} \;
|
||||
find . -name mount.glusterfs -exec rm -f {} \;
|
||||
find . -name .deps -o -name .libs | xargs rm -rf
|
||||
rm -fr autom4te.cache
|
||||
rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp
|
||||
|
||||
@@ -49,4 +53,3 @@ gen-VERSION:
|
||||
./build-aux/pkg-version --full \
|
||||
> $(abs_top_builddir)/$(distdir)/VERSION; \
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user