From: Zdenek Kabelac Date: Mon, 8 Nov 2010 14:19:48 +0000 (+0000) Subject: Fix include commit and switch to use DISTCLEAN_TARGETS X-Git-Tag: v2_02_91~1390 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e702a9c7ede6e4f36d2df050947d49bfe3a6d018;p=lvm2.git 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' --- diff --git a/include/Makefile.in b/include/Makefile.in index 0aba011f4..3daaab105 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -25,12 +25,11 @@ all: .symlinks_created 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