summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2007-11-21 20:52:35 +0000
committerPaul W. Frields <stickster@gmail.com>2007-11-21 20:52:35 +0000
commit08dcaf0bac2dc6739e045fc9ce64852c1019e6e4 (patch)
tree4d321dda1193241995cfa52dacc36ade3a7f31a5 /Makefile.common
parentaf9a0fa1a79a9d1043355fa5b885cbdcafe7795a (diff)
downloadfedora-doc-utils-08dcaf0bac2dc6739e045fc9ce64852c1019e6e4.tar.gz
fedora-doc-utils-08dcaf0bac2dc6739e045fc9ce64852c1019e6e4.tar.xz
fedora-doc-utils-08dcaf0bac2dc6739e045fc9ce64852c1019e6e4.zip
Improved help menu. The next step will move the fully parsed list of
locale-specific targets to a new "help-verbose" target.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common23
1 files changed, 16 insertions, 7 deletions
diff --git a/Makefile.common b/Makefile.common
index ed80cd4..c23129e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -224,9 +224,21 @@ TARGETS=all clean distclean fdp-info html html-nochunks pdf po showvars \
all:: html html-nochunks tarball # pdf
help::
- @printf ${TFMT} 'help' 'This help; try "make help|sort"'
+ @echo -e 'The following targets are available for use with the make(1)'
+ @echo -e 'command. To make a target for a specific locale only, append'
+ @echo -e 'the suffix "-xy" to the target name, as in "make html-ja".\n'
+ @printf ${TFMT} 'fdp-info' 'Produces all $${LANG}/fdp-info.xml'
+ @printf ${TFMT} 'all' 'Builds html, html-nochunks, and tarball'
+ @printf ${TFMT} 'html' 'Renders XML into chunked HTML'
+ @printf ${TFMT} 'html-nochunks' 'Renders XML into one big HTML file'
+ @printf ${TFMT} 'pdf' 'Renders XML into one PDF file'
+ @printf ${TFMT} 'po' 'Updates .PO files for all $${OTHERS} locales'
@printf ${TFMT} 'text' 'Same as "txt" target'
@printf ${TFMT} 'txt' 'Renders XML into ASCII text file'
+
+ @echo -e 'The following targets are not locale specific. Do not use a'
+ @echo -e 'locale suffix with these targets.\n'
+ @printf ${TFMT} 'help' 'This help; try "make help|sort"'
@printf ${TFMT} 'src-tarball' 'FIXME'
@printf ${TFMT} 'package-post' 'FIXME'
@printf ${TFMT} 'package-prep' 'FIXME'
@@ -237,14 +249,11 @@ help::
@printf ${TFMT} 'tarball' 'Packages HTML files into tar(1) archive'
@printf ${TFMT} 'clean' 'Removes temporary files'
@printf ${TFMT} 'distclean' 'Removes product files and temporaries'
- @printf ${TFMT} 'fdp-info' 'Produces all $${LANG}/fdp-info.xml'
- @printf ${TFMT} 'all' 'Builds html, html-nochunks, and tarball'
- @printf ${TFMT} 'html' 'Renders XML into chunked HTML'
- @printf ${TFMT} 'html-nochunks' 'Renders XML into one big HTML file'
- @printf ${TFMT} 'pdf' 'Renders XML into one PDF file'
- @printf ${TFMT} 'po' 'Updates .PO files for all $${OTHERS} locales'
@printf ${TFMT} 'showvars' 'Displays convenient make(1) variables'
+ @echo -e '\nTo see a fully parsed list of locale-specific targets,'
+ @echo -e 'use the "make help-verbose" command.'
+
${TARGETS}::
#########################################################################