diff options
author | Daniel Sandler <dsandler@google.com> | 2010-10-28 15:31:47 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2010-10-28 15:40:06 -0400 |
commit | 9566122c9d6b0c4844563f3af9185adf082c6155 (patch) | |
tree | af849bd5b98bc98d972684fb43be5f94180a7cf2 /core/help.mk | |
parent | 83d3d7e5e800ece399bb97742293cef5ca49aa83 (diff) | |
download | build-9566122c9d6b0c4844563f3af9185adf082c6155.zip build-9566122c9d6b0c4844563f3af9185adf082c6155.tar.gz build-9566122c9d6b0c4844563f3af9185adf082c6155.tar.bz2 |
make help: prints a handy list of useful targets
A small step to making the platform build environment more
self-documenting.
Change-Id: I8f6cebe6cbd4cf89736da23e9d0d2a257ea422ee
Diffstat (limited to 'core/help.mk')
-rw-r--r-- | core/help.mk | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/core/help.mk b/core/help.mk new file mode 100644 index 0000000..9e37f82 --- /dev/null +++ b/core/help.mk @@ -0,0 +1,42 @@ +# +# Copyright (C) 2010 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +ifeq ($(MAKECMDGOALS),help) +dont_bother := true +endif +ifeq ($(MAKECMDGOALS),out) +dont_bother := true +endif + +.PHONY: help +help: + @echo + @echo "Common make targets:" + @echo "----------------------------------------------------------------------------------" + @echo "droid Default target" + @echo "clean (aka clobber) equivalent to rm -rf out/" + @echo "snod Quickly rebuild the system image from built packages" + @echo "offline-sdk-docs Generate the HTML for the developer SDK docs" + @echo "doc-comment-check-docs Check HTML doc links & validity, without generating HTML" + @echo "libandroid_runtime All the JNI framework stuff" + @echo "framework All the java framework stuff" + @echo "services The system server (Java) and friends" + @echo "help You're reading it right now" + +.PHONY: out +out: + @echo "I'm sure you're nice and all, but no thanks." + |