diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-07 11:10:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-07 20:17:42 +0200 |
commit | d7050e4dae78bd7dab497c91a39440a9cf71f008 (patch) | |
tree | fb44b90e3db5cefe95d21e1d48fe516df1001c0c /Makefile.in | |
parent | 37fca8bf799cecab9dd7b5474e7c011db7e50e29 (diff) |
Split clean into clean-host and clean-build targets
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 197eb8e84958..f339c6cde0c3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,7 +15,7 @@ else gb_MAKETARGET=all endif -.PHONY : build dev-install all cross-build-toolset install distro-pack-install clean distclean findunusedcode +.PHONY : build dev-install all cross-build-toolset install distro-pack-install clean clean-host clean-build distclean findunusedcode all: build unitcheck @echo @@ -90,7 +90,9 @@ endif desktop/scripts/soffice.sh ooo.lst post_download post_download.log \ set_soenv set_soenv.last set_soenv.stamp src.downloaded warn -clean: +clean: clean-host clean-build + +clean-host: . ./Env.Host.sh && \ rm -rf */$$INPATH && \ rm -rf solver/$$INPATH && \ @@ -101,6 +103,8 @@ ifeq (@BUILD_DMAKE@,YES) (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 && \ |