Kaydet (Commit) e48d33bc authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

autogen properly on default target.. and do not autogen on clean/distclean

üst 84399900
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
.PHONY : all autogen bootstrap fetch build clean clean-build clean-host .PHONY : all autogen bootstrap fetch build clean clean-build clean-host
ifeq ($(MAKECMDGOALS),)
MAKECMDGOALS:=all
endif
all: build all: build
SHELL=/usr/bin/env bash SHELL=/usr/bin/env bash
...@@ -325,6 +330,7 @@ cmd: ...@@ -325,6 +330,7 @@ cmd:
endif endif
ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),)
# #
# autogen # autogen
# #
...@@ -350,7 +356,7 @@ $(WORKDIR)/bootstrap: autogen ...@@ -350,7 +356,7 @@ $(WORKDIR)/bootstrap: autogen
@cd $(SRCDIR) && ./bootstrap @cd $(SRCDIR) && ./bootstrap
@mkdir -p $(dir $@) && touch $@ @mkdir -p $(dir $@) && touch $@
bootstrap: $(WORKDIR)/bootstrap bootstrap: $(WORKDIR)/bootstrap autogen
# #
# Fetch # Fetch
...@@ -415,4 +421,7 @@ include $(SOLARENV)/gbuild/gbuild.mk ...@@ -415,4 +421,7 @@ include $(SOLARENV)/gbuild/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk))) $(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk)))
endif endif
endif # not clean or distclean
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
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