diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ultratex/texi/Makefile |
Initial commit
Diffstat (limited to 'support/ultratex/texi/Makefile')
-rw-r--r-- | support/ultratex/texi/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
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) |