gnumake2: getting rid of obsolete install and uninstall targets

This commit is contained in:
Bjoern Michaelsen 2010-11-22 13:40:19 +01:00
parent 940fd9c04e
commit b47f9bc507
2 changed files with 3 additions and 6 deletions

View file

@ -47,7 +47,7 @@ $(call gb_Module_get_target,%) :
mkdir -p $(dir $@) && \
touch $@)
.PHONY : all clean install uninstall
.PHONY : all clean
.DEFAULT_GOAL := all
all :
@ -62,9 +62,6 @@ clean :
$(call gb_Output_announce_title,all cleared.)
$(call gb_Output_announce_bell)
install : all
uninstall : clean
define gb_Module_Module
gb_Module_ALLMODULES += $(1)
gb_Module_MODULELOCATIONS += $(1):$(dir $(realpath $(lastword $(MAKEFILE_LIST))))

View file

@ -94,8 +94,8 @@ else
gb_ENABLE_PCH := $(false)
endif
# for clean, uninstall and setuplocal goals we switch off dependencies
ifneq ($(filter clean uninstall setuplocal removelocal,$(MAKECMDGOALS)),)
# for clean, setuplocal and removelocal goals we switch off dependencies
ifneq ($(filter clean setuplocal removelocal,$(MAKECMDGOALS)),)
gb_FULLDEPS := $(false)
else
gb_FULLDEPS := $(true)