1#ident "@(#)rules.hlp	1.21 18/08/14 "
2###########################################################################
3# Written 1996-2017 by J. Schilling
4###########################################################################
5#
6# Help rules
7#
8###########################################################################
9# Copyright (c) J. Schilling
10###########################################################################
11# The contents of this file are subject to the terms of the
12# Common Development and Distribution License, Version 1.0 only
13# (the "License").  You may not use this file except in compliance
14# with the License.
15#
16# See the file CDDL.Schily.txt in this distribution for details.
17# A copy of the CDDL is also available via the Internet at
18# http://www.opensource.org/licenses/cddl1.txt
19#
20# When distributing Covered Code, include this CDDL HEADER in each
21# file and include the License file CDDL.Schily.txt from this distribution.
22###########################################################################
23# Location for targets:
24#
25# - all						: see appropriate rules
26# - man installman				: rules.man
27# - localize					: rules.loc
28# - lint					: rules.lnt
29# - clean, clobber, distclean, relink, rmtarget	: rules.clr
30# - rel						: rules.rel
31# - install, ibins				: rules.ins
32# - html, htmlx, htmlxn				: rules.htm & sub.htm
33# - tarpkg, tarpkg1 tarpkg2			: rules.sps
34# - depend, rmdep				: rules.dep
35# - config					: rules.cnf
36# - tags, TAGS					: rules.tag
37# - .help					: rules.hlp
38# - .version					: rules.hlp
39# - tests					: rules.tst
40# - tinfo					: rules.dir/rules.rdi
41# - cstyle					: rules.cst
42#
43###########################################################################
44.help:
45	@echo "Usage: make [target]"
46	@echo "Available targets are:" $(ALLTARGETS)
47	@echo "	all		make the default target"
48	@echo "	man		make localized man pages"
49	@echo "	localize	make localized scripts"
50	@echo "	lint		lint all sources for the default target"
51	@echo "	clean		remove all made objects and the default target"
52	@echo "	clobber		remove all from 'clean' and all dependency files"
53	@echo "	cstyle		run 'cstyle' on the source files
54	@echo "	distclean	remove all from 'clobber' and all made files"
55	@echo "			for all architectures"
56	@echo "	relink		remove and relink the default target"
57	@echo "	rmtarget	remove the default target"
58	@echo "	install		install the default target to final destination"
59	@echo "	installman	install the man pages to final destination"
60	@echo "	ibins		install the default target to local dir 'bins'"
61	@echo "	uninstall	uninstall the default target from final destination"
62	@echo "	html		create html vesions from the manual pages"
63	@echo "	htmlx		create enhanced html vesions from the manual pages"
64	@echo "	htmlxn		create enhanced html vesions from the manual pages if needed"
65	@echo "	tarpkg		create an installable tar packet -> tarpkg1 + parpkg2"
66	@echo "	tarpkg1		helps to create an installable tar packet - install stage"
67	@echo "	tarpkg2		installable tar packet - tar -c stage"
68	@echo "	depend		remove dependency file to prepare a remake"
69	@echo "	config		remake the dynamic configuration files"
70	@echo "	tags		make vi/ved compatible tag file"
71	@echo "	TAGS		make emacs compatible tag file"
72	@echo "	.help		display this help"
73	@echo "	.version	display version information for the makefile system"
74	@echo "	tests		Run conformance tests if available for target"
75	@echo "	tinfo		display target info for slottable target components"
76	@echo "	shell		start $(SHELL) with the environment used for compilation"
77
78.version:
79	@echo "Makefiles (The Schily Makefile System) Version: $(MAKEFILES_VERSION)"
80