summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-13 22:52:16 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-14 01:54:59 +0200
commit79ffe3c27c7130b279478ae137932608a68b3c3c (patch)
tree1773a39059858b103249a9f1e125eee3b566f7a7 /Makefile.in
parent770cb8ae4d0472d8eb9b32046f5820181fb1de93 (diff)
Make the clean-host target really do just that
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index f339c6cde0c3..24a73b79d089 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -95,20 +95,17 @@ clean: clean-host clean-build
clean-host:
. ./Env.Host.sh && \
rm -rf */$$INPATH && \
- rm -rf solver/$$INPATH && \
- rm -rf workdir && \
rm -rf install
+
+clean-build:
ifeq (@BUILD_DMAKE@,YES)
. ./Env.Host.sh && \
(if [ -f dmake/Makefile ] ; then $$GNUMAKE -C dmake clean; fi) && \
rm -f solenv/*/bin/dmake*
endif
-
-clean-build:
ifeq (@CROSS_COMPILING@,YES)
. ./Env.Host.sh && \
- rm -rf */$$INPATH_FOR_BUILD && \
- rm -rf solver/$$INPATH_FOR_BUILD
+ rm -rf */$$INPATH_FOR_BUILD
endif
dmake/dmake@EXEEXT_FOR_BUILD@: