From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- support/ultratex/texi/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 support/ultratex/texi/Makefile (limited to 'support/ultratex/texi/Makefile') diff --git a/support/ultratex/texi/Makefile b/support/ultratex/texi/Makefile new file mode 100644 index 0000000000..1194e37c4f --- /dev/null +++ b/support/ultratex/texi/Makefile @@ -0,0 +1,46 @@ +# 'make info' produces info files, as does 'make texinfo' +# 'make dv' produces dvi files (and lots of crap) +# 'make dvi' produces dvi files and lots of crap, then erases the crap +# 'make all' produces both info and dvi files, and cleans up afterwards +# 'make install' copies the info files to /usr/local/info (or the value +# of INFODIR, if you change it) +# 'make html' produces html files (but requires a perl script: texi2html) +# to get html files, change the next variable to point to the perl +# script texi2html. Also, if you run this by typing 'perl texi2html', +# then the variable PERL should be set to perl. If you run it by +# typing 'texi2html', then the variable PERL should be set to nothing: +# PERL= +# +TEXI2HTML=texi2html +PERL=perl +# +TEXI2DVI=texi2dvi +MAKEINFO=makeinfo +TEXI2FLAG=-menu -split_chapter +INFODIR=/usr/local/info + +all: texinfo dv clean + +info: texinfo + +texinfo: + $(MAKEINFO) ultra.texi; $(MAKEINFO) light.texi + +dv: + $(TEXI2DVI) light.texi; $(TEXI2DVI) ultra.texi + +dvi: dv clean + +html: + $(PERL) $(TEXI2HTML) $(TEXI2FLAG) light.texi; \ + $(PERL) $(TEXI2HTML) $(TEXI2FLAG) ultra.texi + +clean: + 'rm' -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.fns *.cps *.vrs + +distclean: + 'rm' -f *.info *.dvi + +install: + cp ultra.info $(INFODIR) + cp light.info $(INFODIR) -- cgit v1.2.3