Commit 5ead7d18 authored by thomie's avatar thomie

Build system: make more targets PHONY

[skip ci]
parent a138fa1a
...@@ -79,9 +79,11 @@ endif ...@@ -79,9 +79,11 @@ endif
@echo "===--- building final phase" @echo "===--- building final phase"
$(MAKE) -r --no-print-directory -f phase=final $@ $(MAKE) -r --no-print-directory -f phase=final $@
.PHONY: binary-dist
binary-dist: binary-dist-prep binary-dist: binary-dist-prep
mv bindistprep/*.tar.$(TAR_COMP_EXT) . mv bindistprep/*.tar.$(TAR_COMP_EXT) .
.PHONY: binary-dist-prep
binary-dist-prep: binary-dist-prep:
ifeq "$(mingw32_TARGET_OS)" "1" ifeq "$(mingw32_TARGET_OS)" "1"
$(MAKE) -r --no-print-directory -f windows-binary-dist-prep $(MAKE) -r --no-print-directory -f windows-binary-dist-prep
...@@ -91,17 +93,21 @@ else ...@@ -91,17 +93,21 @@ else
$(MAKE) -r --no-print-directory -f unix-binary-dist-prep $(MAKE) -r --no-print-directory -f unix-binary-dist-prep
endif endif
.PHONY: clean distclean maintainer-clean
clean distclean maintainer-clean: clean distclean maintainer-clean:
$(MAKE) -r --no-print-directory -f $@ CLEANING=YES $(MAKE) -r --no-print-directory -f $@ CLEANING=YES
test ! -d testsuite || $(MAKE) -C testsuite $@ test ! -d testsuite || $(MAKE) -C testsuite $@
.PHONY: $(filter clean_%,$(MAKECMDGOALS))
$(filter clean_%, $(MAKECMDGOALS)) : clean_% : $(filter clean_%, $(MAKECMDGOALS)) : clean_% :
$(MAKE) -r --no-print-directory -f $@ CLEANING=YES $(MAKE) -r --no-print-directory -f $@ CLEANING=YES
.PHONY: bootstrapping-files show echo
bootstrapping-files show echo: bootstrapping-files show echo:
$(MAKE) -r --no-print-directory -f $@ $(MAKE) -r --no-print-directory -f $@
ifeq "$(darwin_TARGET_OS)" "1" ifeq "$(darwin_TARGET_OS)" "1"
.PHONY: framework-pkg
framework-pkg: framework-pkg:
$(MAKE) -C distrib/MacOS $@ $(MAKE) -C distrib/MacOS $@
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment