Skip to contentSkip to conversation

LVM2/include Makefile.in

PATCH [email protected] 1 participant 1 message Nov 8, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-08 14:19:48

Modified files:
include : Makefile.in

Log message:
Fix include commit and switch to use DISTCLEAN_TARGETS

Fixing warning introduced by 'include make.tmpl' commit. Produced this warning:

Makefile:29: warning: overriding commands for target distclean' ../make.tmpl:366: warning: ignoring old commands for target distclean'

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/include/Makefile.in.diff?cvsroot=lvm2&r1=1.15&r2=1.16

include/Makefile.in +3 -4
@@ -25,12 +25,11 @@
 	for i in `cat $<`; do $(LN_S) $$i ; done
 	touch $@
 
-distclean:
-	find . -maxdepth 1 -type l -exec $(RM) \{\} \;
-	$(RM) Makefile .include_symlinks .symlinks_created .symlinks
-
 pofile: all
 
 device-mapper: all
 
 cflow: all
+
+DISTCLEAN_TARGETS += $(shell find . -maxdepth 1 -type l)
+DISTCLEAN_TARGETS += .include_symlinks .symlinks_created .symlinks