diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-06 09:54:11 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-06 09:54:11 +0000 |
commit | e83968fa286bec0972a810271053dd5a08ba2a0b (patch) | |
tree | 85f4f2f15d21d64c42d7a76a904f4986f7ec2c0b /make.tmpl.in | |
parent | 6a27e819d751ccfbc01350d60f1daeaac9f0918d (diff) | |
download | lvm2-e83968fa286bec0972a810271053dd5a08ba2a0b.tar.gz lvm2-e83968fa286bec0972a810271053dd5a08ba2a0b.tar.xz lvm2-e83968fa286bec0972a810271053dd5a08ba2a0b.zip |
Distcleanup config files only in toplevel directory.
Do not execute 'rm -r' with empty $(DISTCLEAN_DIRS).
lvm-version.h is already cleaned with subtarget distcleaning.
Always distcleanup lcov_reports*.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 8b93bb13..b42358a5 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -306,11 +306,8 @@ clean: $(SUBDIRS.clean) $(SOURCES2:%.c=%.o) $(SOURCES2:%.c=%.d) $(SOURCES2:%.c=%.gcno) $(SOURCES2:%.c=%.gcda) distclean: clean $(SUBDIRS.distclean) - $(RM) -r $(DISTCLEAN_DIRS) - $(RM) $(DISTCLEAN_TARGETS) \ - config.cache config.log config.status \ - Makefile make.tmpl core \ - lvm-version.h + test -z "$(DISTCLEAN_DIRS)" || $(RM) -r $(DISTCLEAN_DIRS) + $(RM) $(DISTCLEAN_TARGETS) Makefile core .export.sym: .exported_symbols set -e; (echo "Base {"; echo " global:"; \ |