summaryrefslogtreecommitdiff
path: root/libdm/Makefile.in
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-03-16 20:00:10 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-03-16 20:00:10 +0000
commitd917c98cd8a78d4e0a7952daf3a6351a27feec22 (patch)
treedd7fb15613449e917da7b1e5e97c1d4d3717c9bd /libdm/Makefile.in
parentf5ac9a94955066bbd8464ef0982486592510cade (diff)
downloadlvm2-d917c98cd8a78d4e0a7952daf3a6351a27feec22.tar.gz
Fix some clean rules, fix previous distclean checkin.
In libdm/Makefile.in, we need to cleanup the symlink properly. Adding to CLEAN_TARGETS seemed like the simplest way to do this in the current build framework. We could redo dependencies for VERSIONED_SHLIB, but for now just add to CLEAN_TARGETS. For scripts/Makefile.in, we should be adding to DISTCLEAN_TARGETS. The generic rule in make.tmpl.in takes care of the cleanup. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Author: Takahiro Yasui <tyasui@redhat.com>
Diffstat (limited to 'libdm/Makefile.in')
-rw-r--r--libdm/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdm/Makefile.in b/libdm/Makefile.in
index e170b5c1d..5283717d0 100644
--- a/libdm/Makefile.in
+++ b/libdm/Makefile.in
@@ -98,6 +98,8 @@ $(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION_DM): $(interface)/%.$(LIB_SUFF
rm -f libdevmapper.$(LIB_SUFFIX)
$(LN_S) $< libdevmapper.$(LIB_SUFFIX)
+CLEAN_TARGETS += libdevmapper.$(LIB_SUFFIX)
+
.PHONY: distclean_lib distclean
distclean_lib: