Mercurial > hg > octave-nkf
changeset 1999:c0ca86c53e67
[project @ 1996-03-03 17:32:52 by jwe]
Initial revision
author | jwe |
---|---|
date | Sun, 03 Mar 1996 17:33:22 +0000 |
parents | 3681c4e6c366 |
children | 529a478cf4b2 |
files | doc/Makefile.in doc/faq/Makefile.in doc/liboctave/Makefile.in doc/refcard/Makefile.in |
diffstat | 4 files changed, 338 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/doc/Makefile.in @@ -0,0 +1,64 @@ +# +# Makefile for octave's doc directory +# +# John W. Eaton +# jwe@bevo.che.wisc.edu +# University of Wisconsin-Madison +# Department of Chemical Engineering + +TOPDIR = .. + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +include $(TOPDIR)/Makeconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +SOURCES = + +DISTFILES = Makefile.in conf.texi.in texinfo.tex + +SUBDIRS = faq interpreter liboctave refcard + +DISTSUBDIRS = $(SUBDIRS) + +all: $(SUBDIRS) +.PHONY: all + +$(SUBDIRS): + echo making all in $@ + cd $@ ; $(MAKE) all +.PHONY: $(SUBDIRS) + +install uninstall clean mostlyclean distclean maintainer-clean:: + @$(subdir-for-command) +.PHONY: install uninstall clean mostlyclean distclean maintainer-clean + +tags TAGS:: $(SOURCES) + $(SUBDIR_FOR_COMMAND) + +tags:: + ctags $(SOURCES) + +TAGS:: $(SOURCES) + etags $(SOURCES) + +distclean:: + rm -f Makefile + +maintainer-clean:: distclean + rm -f tags TAGS + +local-dist: + ln $(DISTFILES) ../`cat ../.fname`/doc + for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; cd $$dir; $(MAKE) $@; cd ..; done +.PHONY: local-dist + +dist: + ln $(DISTFILES) ../`cat ../.fname`/doc + for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; cd $$dir; $(MAKE) $@; cd ..; done +.PHONY: dist
new file mode 100644 --- /dev/null +++ b/doc/faq/Makefile.in @@ -0,0 +1,80 @@ +# +# Makefile for octave's doc/faq directory +# +# John W. Eaton +# jwe@bevo.che.wisc.edu +# University of Wisconsin-Madison +# Department of Chemical Engineering + +TOPDIR = ../.. + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +include $(TOPDIR)/Makeconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +SOURCES = + +TEXINFO := FAQ.texi + +FORMATTED := FAQ.info FAQ.dvi FAQ.ps + +DISTFILES := Makefile.in $(TEXINFO) $(FORMATTED) + +SPELL := $(patsubst %.texi, %.spell, $(ALL_TEXINFO)) + +%.spell : %.texi + rm -f $@ + sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp + mv $@.tmp $@ + +all: FAQ.info FAQ.dvi FAQ.ps +.PHONY: all + +FAQ.info: FAQ.texi + -makeinfo -I$(srcdir) -I$(srcdir)/.. FAQ.texi + +FAQ.dvi: FAQ.texi + -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ + export TEXINPUTS ; \ + texi2dvi $(srcdir)/FAQ.texi + +FAQ.ps: FAQ.dvi + -dvips -o FAQ.ps FAQ.dvi + +check install uninstall mostlyclean clean: +.PHONY: check install uninstall mostlyclean clean + +tags: $(SOURCES) + ctags $(SOURCES) + +TAGS: $(SOURCES) + etags $(SOURCES) + +spell: $(SPELL) +.PHONY: spell + +distclean: clean + rm -f Makefile +.PHONY: distclean + +maintainer-clean: distclean + rm -f tags TAGS FAQ.info FAQ.info-* FAQ.dvi FAQ.ps +.PHONY: maintainer-clean + +local-dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/faq +.PHONY: local-dist + +dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/faq +.PHONY: dist + +doc-dist: all + ln $(FORMATTED) ../`cat ../.fname`/doc/faq +.PHONY: doc-dist
new file mode 100644 --- /dev/null +++ b/doc/liboctave/Makefile.in @@ -0,0 +1,115 @@ +# +# Makefile for octave's doc/liboctave directory +# +# John W. Eaton +# jwe@bevo.che.wisc.edu +# University of Wisconsin-Madison +# Department of Chemical Engineering + +TOPDIR = ../.. + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +include $(TOPDIR)/Makeconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +SOURCES = + +TEXINFO = liboctave.texi + +FORMATTED = liboctave.dvi liboctave.ps liboctave.info liboctave.info-[0-9]* + +DISTFILES = Makefile.in conf.texi $(TEXINFO) $(FORMATTED) + +SPELL = $(patsubst %.texi, %.spell, $(TEXINFO)) + +%.spell : %.texi + rm -f $@ + sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp + mv $@.tmp $@ + +all: conf.texi liboctave.info liboctave.dvi liboctave.ps +.PHONY: all + +# This mess is supposed to prevent us from making info files +# unnecessarily when building Octave in a subdirectory. + +conf.texi: $(srcdir)/../../src/version.h ../../Makeconf Makefile \ + $(srcdir)/../conf.texi.in + @echo "Making conf.texi from conf.texi.in..." + @(version_val=${version}; \ + sed < $(srcdir)/../conf.texi.in > conf.texi.tmp \ + -e "s;%OCTAVE_VERSION%;$$version_val;" \ + -e "s;%OCTAVE_HOME%;${prefix};") + @if test "$(srcdir)" = "." ; then \ + $(top_srcdir)/move-if-change conf.texi.tmp conf.texi; \ + else \ + if cmp conf.texi.tmp $(srcdir)/conf.texi > /dev/null; then \ + echo conf.texi is unchanged; \ + rm -f conf.texi.tmp; \ + else \ + mv -f conf.texi.tmp conf.texi; \ + fi; \ + fi + +liboctave.info: $(LIB_TEXINFO) conf.texi + -makeinfo -I$(srcdir) -I$(srcdir)/.. liboctave.texi + +liboctave.dvi: $(LIB_TEXINFO) conf.texi + -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ + export TEXINPUTS ; \ + texi2dvi $(srcdir)/liboctave.texi + +liboctave.ps: liboctave.dvi + -dvips -o liboctave.ps liboctave.dvi + +check: +.PHONY: check + +install: all +.PHONY: install + +uninstall: + rm -f $(infodir)/liboctave.info* +.PHONY: uninstall + +tags: $(SOURCES) + ctags $(SOURCES) + +TAGS: $(SOURCES) + etags $(SOURCES) + +spell: $(SPELL) +.PHONY: spell + +mostlyclean clean: + rm -f liboctave.cp liboctave.fn liboctave.pg liboctave.tp \ + liboctave.cps liboctave.fns liboctave.pgs liboctave.tps \ + liboctave.aux liboctave.log liboctave.toc +.PHONY: mostlyclean clean + +distclean: clean + rm -f Makefile +.PHONY: distclean + +maintainer-clean: distclean + rm -f tags TAGS liboctave.info liboctave.info-* \ + liboctave.dvi liboctave.ps +.PHONY: maintainer-clean + +local-dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/liboctave +.PHONY: local-dist + +dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/liboctave +.PHONY: dist + +doc-dist: all + ln $(FORMATTED) ../`cat ../.fname`/doc/liboctave +.PHONY: doc-dist
new file mode 100644 --- /dev/null +++ b/doc/refcard/Makefile.in @@ -0,0 +1,79 @@ +# +# Makefile for octave's doc/refcard directory +# +# John W. Eaton +# jwe@bevo.che.wisc.edu +# University of Wisconsin-Madison +# Department of Chemical Engineering + +TOPDIR = ../.. + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +include $(TOPDIR)/Makeconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +TEX := refcard.tex refcard-a4.tex refcard-legal.tex refcard-letter.tex + +FORMATTED := refcard-a4.dvi refcard-a4.ps \ + refcard-legal.dvi refcard-legal.ps \ + refcard-letter.dvi refcard-letter.ps + +DISTFILES := Makefile.in $(TEX) $(FORMATTED) + +all: $(FORMATTED) + +refcard-a4.dvi: refcard-a4.tex refcard.tex + -TEXINPUTS="$(srcdir):$(TEXINPUTS):" ; export TEXINPUTS ; \ + tex $(srcdir)/refcard-a4.tex + +refcard-a4.ps: refcard-a4.dvi + -dvips -T 297mm,210mm -o refcard-a4.ps refcard-a4.dvi + +refcard-legal.dvi: refcard-legal.tex refcard.tex + -TEXINPUTS="$(srcdir):$(TEXINPUTS):" ; export TEXINPUTS ; \ + tex $(srcdir)/refcard-legal.tex + +refcard-legal.ps: refcard-legal.dvi + -dvips -T 14in,8.5in -o refcard-legal.ps refcard-legal.dvi + +refcard-letter.dvi: refcard-letter.tex refcard.tex + -TEXINPUTS="$(srcdir):$(TEXINPUTS):" ; export TEXINPUTS ; \ + tex $(srcdir)/refcard-letter.tex + +refcard-letter.ps: refcard-letter.dvi + -dvips -T 11in,8.5in -o refcard-letter.ps refcard-letter.dvi + +check install uninstall mostlyclean clean: +.PHONY: check install uninstall mostlyclean clean + +tags: $(SOURCES) + ctags $(SOURCES) + +TAGS: $(SOURCES) + etags $(SOURCES) + +distclean: clean + rm -f Makefile +.PHONY: distclean + +maintainer-clean: distclean + rm -f tags TAGS refcard-*.dvi refcard-*.ps +.PHONY: maintainer-clean + +local-dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/refcard +.PHONY: local-dist + +dist: all + ln $(DISTFILES) ../`cat ../.fname`/doc/refcard +.PHONY: dist + +doc-dist: all + ln $(FORMATTED) ../`cat ../.fname`/doc/refcard +.PHONY: doc-dist