summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2010-11-08 14:19:48 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2010-11-08 14:19:48 +0000
commite702a9c7ede6e4f36d2df050947d49bfe3a6d018 (patch)
treeedbfcea7329b97688f689d93cb4570a6375e7f53 /include
parentf7e3a19f759f681474ee753cfc005bb551a174b4 (diff)
downloadlvm2-e702a9c7ede6e4f36d2df050947d49bfe3a6d018.tar.gz
lvm2-e702a9c7ede6e4f36d2df050947d49bfe3a6d018.tar.xz
lvm2-e702a9c7ede6e4f36d2df050947d49bfe3a6d018.zip
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'
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.in7
1 files changed, 3 insertions, 4 deletions
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