From c4589fc0004a1e9239170a938a1458e25ee5e2a7 Mon Sep 17 00:00:00 2001 From: NicJA Date: Tue, 15 Mar 2011 11:29:47 +0000 Subject: [PATCH] Fix rebuilding of projects when make is reissued git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@37579 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- config/make.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/make.tmpl b/config/make.tmpl index 9c99082c37..0e79c86448 100644 --- a/config/make.tmpl +++ b/config/make.tmpl @@ -2065,8 +2065,7 @@ endif ifneq (%(install_target),) %(mmake)-install_command = \ $(MAKE) PROGDIR="$(%(mmake)-PROGDIR)/" $(%(mmake)-install_opts) \ - -C $(%(mmake)-pkgdir) %(install_target) -j1 && \ - $(TOUCH) $(%(mmake)-installflag) + -C $(%(mmake)-pkgdir) %(install_target) -j1 %(mmake)-uninstall_command = \ $(RM) $(%(mmake)-installflag) && \ @@ -2080,11 +2079,14 @@ endif #MM- %(mmake)-quick : %(preconfigure) %(mmake)-configure %(postconfigure) %(mmake)-build_and_install-quick %(postinstall) #MM -%(mmake)-build_and_install-quick : $(%(mmake)-configflag) +%(mmake)-build_and_install-quick : $(%(mmake)-installflag) + +$(%(mmake)-installflag) : $(%(mmake)-configflag) if ! $(MAKE) PROGDIR="$(call %(mmake)-volfunc, PROGDIR)" -q -C $(%(mmake)-pkgdir); then \ $(RM) $(%(mmake)-installflag) && \ $(MAKE) PROGDIR="$(call %(mmake)-volfunc, PROGDIR)" -C $(%(mmake)-pkgdir) && \ - $(%(mmake)-install_command); \ + $(%(mmake)-install_command) && \ + $(TOUCH) $@ -r $^; \ fi $(%(mmake)-pkgdir)/.files-touched: -- 2.11.4.GIT