help.mk revision 9566122c9d6b0c4844563f3af9185adf082c6155
1#
2# Copyright (C) 2010 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifeq ($(MAKECMDGOALS),help)
18dont_bother := true
19endif
20ifeq ($(MAKECMDGOALS),out)
21dont_bother := true
22endif
23
24.PHONY: help
25help:
26	@echo
27	@echo "Common make targets:"
28	@echo "----------------------------------------------------------------------------------"
29	@echo "droid                   Default target"
30	@echo "clean                   (aka clobber) equivalent to rm -rf out/"
31	@echo "snod                    Quickly rebuild the system image from built packages"
32	@echo "offline-sdk-docs        Generate the HTML for the developer SDK docs"
33	@echo "doc-comment-check-docs  Check HTML doc links & validity, without generating HTML"
34	@echo "libandroid_runtime      All the JNI framework stuff"
35	@echo "framework               All the java framework stuff"
36	@echo "services                The system server (Java) and friends"
37	@echo "help                    You're reading it right now"
38
39.PHONY: out
40out:
41	@echo "I'm sure you're nice and all, but no thanks."
42
43