mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Add an initial version of a 'help' target
This commit is contained in:
parent
cf8a147ef3
commit
820b6d763a
46
Makefile
46
Makefile
@ -49,6 +49,52 @@ endif
|
||||
|
||||
blfs: html wget-list
|
||||
|
||||
help:
|
||||
@echo ""
|
||||
@echo "make <parameters> <targets>"
|
||||
@echo ""
|
||||
@echo "Parameters:"
|
||||
@echo " REV=<rev> Build variation of book"
|
||||
@echo " Valid values for REV are:"
|
||||
@echo " * sysv - Build book for SysV"
|
||||
@echo " * systemd - Build book for systemd"
|
||||
@echo " Defaults to 'sysv'"
|
||||
@echo ""
|
||||
@echo " BASEDIR=<dir> Put the output in directory <dir>."
|
||||
@echo " Defaults to"
|
||||
@echo " 'HOME/public_html/blfs-book' if REV=sysv (or unset)"
|
||||
@echo " or to"
|
||||
@echo " 'HOME/public_html/blfs-book-systemd' if REV=systemd"
|
||||
@echo ""
|
||||
@echo " V=<val> If <val> is a non-empty value, all"
|
||||
@echo " steps to produce the output is shown."
|
||||
@echo " Default is unset."
|
||||
@echo ""
|
||||
@echo "Targets:"
|
||||
@echo " help Show this help text."
|
||||
@echo ""
|
||||
@echo " blfs Builds targets 'html' and 'wget-list'."
|
||||
@echo ""
|
||||
@echo " html Builds the HTML pages of the book."
|
||||
@echo ""
|
||||
@echo " wget-list Produces a list of all packages to download."
|
||||
@echo " Output is BASEDIR/wget-list"
|
||||
@echo ""
|
||||
@echo " nochunks Builds the book as a one-pager. The output"
|
||||
@echo " is a large single HTML page containing the"
|
||||
@echo " whole book."
|
||||
@echo ""
|
||||
@echo " Parameter NOCHUNKS_OUTPUT=<filename> controls"
|
||||
@echo " the name of the HTML file."
|
||||
@echo ""
|
||||
@echo " validate Runs validation checks on the XML files."
|
||||
@echo ""
|
||||
@echo " test-links Runs validation checks on URLs in the book."
|
||||
@echo " Produces a file named BASEDIR/bad_urls containing"
|
||||
@echo " URLS which are invalid and a BASEDIR/good_urls"
|
||||
@echo " containing all valid URLs."
|
||||
@echo ""
|
||||
|
||||
all: blfs nochunks
|
||||
world: all blfs-patch-list dump-commands test-links
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user