Mercurial > octave-nkf
view doc/interpreter/graphics_properties.mk @ 19291:1f2a16d41ba2
Automatically generate graphics properties documentation (bug #42536)
* doc/interpreter/Makefile.am: include new graphics_poperties.mk file and
add $(GRAPH_PROP_TEXI_SRC) to the list of built texinfos.
* doc/interpreter/graphics_poperties.mk: new file. Define the list of
built texi sources for graphics properties. Write build rules using
genpropdoc.m.
* doc/interpreter/plot.txi: remove property tables and include built
texi sources.
* doc/interpreter/genpropdoc.m: new file to generate the properties
documentation.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Fri, 17 Oct 2014 09:29:10 +0200 |
parents | |
children | 4f6ae6b94abe |
line wrap: on
line source
GRAPH_PROP_TEXI_SRC= \ plot-axesproperties.texi \ plot-figureproperties.texi \ plot-imageproperties.texi \ plot-lineproperties.texi \ plot-patchproperties.texi \ plot-rootproperties.texi \ plot-surfaceproperties.texi \ plot-textproperties.texi plot-axesproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('axes', '$@');" || { rm -f $@; exit 1; } plot-figureproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('figure', '$@');" || { rm -f $@; exit 1; } plot-imageproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('image', '$@');" || { rm -f $@; exit 1; } plot-lineproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('line', '$@');" || { rm -f $@; exit 1; } plot-patchproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('patch', '$@');" || { rm -f $@; exit 1; } plot-rootproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('root', '$@');" || { rm -f $@; exit 1; } plot-surfaceproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('surface', '$@');" || { rm -f $@; exit 1; } plot-textproperties.texi: genpropdoc.m $(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval "genpropdoc ('text', '$@');" || { rm -f $@; exit 1; }