Skip to contentSkip to conversation

Fix distclean target

PATCH New Fabio M. Di Nitto 1 participant 2 messages Aug 25, 2009 Kbuild

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 Fix Makefile distclean targets

Remove unwanted Makefiles and don't purge lvm2.po that's under RCS.

---
:100644 100644 683021e... d6eec79... M Makefile.in
:100644 100644 305cef5... 1d2b707... M liblvm/Makefile.in
:100644 100644 5db9ab5... 3902303... M make.tmpl.in

 Makefile.in        |    2 ++
 liblvm/Makefile.in |    1 +
 make.tmpl.in       |    2 +-
 3 files changed, 4 insertions(+), 1 deletions(-)
Makefile.in +2 -0
index 683021e..d6eec79 100644
@@ -42,6 +42,8 @@ ifeq ($(MAKECMDGOALS),distclean)
 	     lib/locking \
 	     lib/mirror \
 	     lib/snapshot \
+	     liblvm \
+	     udev \
 	     test/api \
 	     test \
 	     po
liblvm/Makefile.in +1 -0
index 305cef5..1d2b707 100644
@@ -93,3 +93,4 @@ distclean_lib:
 	$(RM) $(LIB_NAME).pc
 
 distclean: distclean_lib
+	$(RM) -f Makefile
make.tmpl.in +1 -1
index 5db9ab5..3902303 100644
@@ -250,7 +250,7 @@ distclean: $(SUBDIRS.distclean)
 	      $(SOURCES:%.c=%.gcda) $(LDDEPS) \
 	      config.cache config.log config.status \
 	      Makefile make.tmpl core \
-	      lvm-version.h lvm2.po
+	      lvm-version.h
 
 .export.sym: .exported_symbols
 	set -e; (echo "Base {"; echo "	global:"; \
Signature · 1 line
1.5.4.3