diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:49 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:49 -0800 |
commit | dcc08f073b6873c69ab891d4f69f7c568e282df7 (patch) | |
tree | cbaa218be3f46078555b6bfb36c48659096a747a /core/distdir.mk | |
parent | d3aa4000e42fd1036e0e3286843c5132f905d754 (diff) | |
download | build-dcc08f073b6873c69ab891d4f69f7c568e282df7.zip build-dcc08f073b6873c69ab891d4f69f7c568e282df7.tar.gz build-dcc08f073b6873c69ab891d4f69f7c568e282df7.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'core/distdir.mk')
-rw-r--r-- | core/distdir.mk | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/core/distdir.mk b/core/distdir.mk index f169de0..777242b 100644 --- a/core/distdir.mk +++ b/core/distdir.mk @@ -14,15 +14,6 @@ # limitations under the License. # -# HACK HACK HACK -# *** Do not use any of the following as an example for anything else *** - -# TODO: remove this hack once the build machine no longer needs "user-dist" -user-dist: user -ifneq (,$(filter user-dist,$(MAKECMDGOALS))) - MAKECMDGOALS := $(patsubst user-dist,user dist,$(MAKECMDGOALS)) -endif - # When specifying "dist", the user has asked that we copy the important # files from this build into DIST_DIR. @@ -34,7 +25,7 @@ MAKECMDGOALS := $(strip $(filter-out dist,$(MAKECMDGOALS))) ifeq (,$(strip $(filter-out $(INTERNAL_MODIFIER_TARGETS),$(MAKECMDGOALS)))) # The commandline was something like "make dist" or "make dist showcommands". # Add a dependency on a real target. -dist: $(DEFAULT_TARGET) +dist: $(DEFAULT_GOAL) endif ifdef dist_goal @@ -54,7 +45,7 @@ endef # certain files with certain goals. When those goals are built # and "dist" is specified, the marked files will be copied to DIST_DIR. # -# $(1): a list of goals (e.g., "user all") +# $(1): a list of goals (e.g. droid, sdk, pdk, ndk) # $(2): the dist files to add to those goals define dist-for-goals $(foreach file,$(2), \ |