X-Git-Url: http://git.shiar.net/unifont.git/blobdiff_plain/7c29a68c187ca8c0ef5cf975b874a91d0f227800..8e42f3d15c39e5c98149c9647c0cc1a318e9321a:/doc/Makefile diff --git a/doc/Makefile b/doc/Makefile index b68a539..7f58452 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -16,14 +16,24 @@ OUTPUT_FILES = unifont.info unifont.txt unifont.pdf $(MAKEINFO) --plaintext $< -o $@ .texi.pdf: - $(TEXI2PDF) $< > $@ + $(TEXI2PDF) $< # -# Comment out the "all:" line to make the documents. The default is -# to leave the existing unifont.info and unifont.pdf files in place, -# in case the target system doesn't have makeinfo and texi2pdf installed. +# The "all:" target does nothing, so that a higher-level "make" invocation +# does not remake the texinfo files, in case the target system does not have +# makeinfo and texi2pdf installed. +# +# To rebuild the files, issue the command +# +# make distclean ; make docprep ; make doc ; make clean # all: +# +# Type "make docprep" before typing "make doc". +# +docprep: + \rm -f $(OUTPUT_FILES) + doc: $(OUTPUT_FILES) install: