From e702a9c7ede6e4f36d2df050947d49bfe3a6d018 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 8 Nov 2010 14:19:48 +0000 Subject: 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' --- include/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/Makefile.in b/include/Makefile.in index 0aba011f..3daaab10 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 -- cgit