]> sourceware.org Git - lvm2.git/commitdiff
Fix include commit and switch to use DISTCLEAN_TARGETS
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Nov 2010 14:19:48 +0000 (14:19 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Nov 2010 14:19:48 +0000 (14:19 +0000)
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

index 0aba011f4f82516fd591cec10e734ee862af1c5f..3daaab1057d0a7ce9cad693a61b522ec642e2e11 100644 (file)
@@ -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
This page took 0.030896 seconds and 5 git commands to generate.