# Makefile for texinfo/doc/refcard. # This is not hooked into Automake, just conveniences for working on the # refcard. # # Copyright 2008-2023 Free Software Foundation, Inc. # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. doc = txirefcard # parallel makes, etc., will fail. all: $(doc).pdf $(doc)-a4.pdf # trying to get it work with pdftex isn't worth the trouble. $(doc).pdf: $(doc).tex tex '\nonstopmode \input $(doc)' dvips -t landscape -t letter $(doc) -o ps2pdf $(doc).ps $(doc)-a4.pdf: $(doc).tex tex '\nonstopmode \let\afour=1 \input $(doc)' dvips -t landscape -t a4 $(doc) -o ps2pdf $(doc).ps $@ check: ccheck vcheck ccheck: ./txicmdcheck $(txi_check_args) vcheck: ./txivarcheck $(txi_check_args) spell: aspell list --mode=tex --add-extra-dicts=`pwd`/refcard.spell \ < $(doc).tex | sort -f -u clean: rm -f $(doc)*.dvi $(doc)*.log $(doc)*.ps distclean: clean rm -f $(doc)*.pdf