annotate doc/module.mk @ 31214:19bd1953fc1d stable

GitHub-CI: Remove ubuntu-18.04 runners from build matrix. * .github/workflow/make.yaml (ubuntu): GitHub-hosted runners for ubuntu-18.04 are being deprecated. Remove them from build matrix. See also: https://github.com/actions/runner-images/issues/6002
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 30 Aug 2022 11:16:27 +0200
parents 625784a8429c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
1 %canon_reldir%_EXTRA_DIST =
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
2
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
3 %canon_reldir%_CLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
4 %canon_reldir%_DISTCLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
5 %canon_reldir%_MAINTAINERCLEANFILES =
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
6
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
7 TEXINPUTS := $(PATH_SEPARATOR)$(abs_top_srcdir)/%reldir%/interpreter$(PATH_SEPARATOR)$(PATH_SEPARATOR)$(abs_top_builddir)/%reldir%/interpreter$(PATH_SEPARATOR)$(abs_top_builddir)/%reldir%/.texmf-var//$(PATH_SEPARATOR)$(TEXINPUTS)$(PATH_SEPARATOR)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8
20419
ea85f96dd0ae build: Use $(abs_top_*) in definitions of TEXINPUTS and TEXMFCNF
Mike Miller <mtmiller@octave.org>
parents: 20418
diff changeset
9 TEXMFCNF := $(PATH_SEPARATOR)$(abs_top_srcdir)/doc$(PATH_SEPARATOR)$(abs_top_builddir)/doc$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
10
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
11 TEXMFVAR := $(abs_top_builddir)/%reldir%/.texmf-var
20418
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
12
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
13 export TEXINPUTS
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 export TEXMFCNF
20418
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
15 export TEXMFVAR
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 DVIPS = dvips
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 TEX = tex
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 PDFTEX = pdftex
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 AM_V_TEX = $(am__v_TEX_$(V))
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 am__v_TEX_ = $(am__v_TEX_$(AM_DEFAULT_VERBOSITY))
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 am__v_TEX_0 = @echo " TEX " $@;
20768
7655b399abff eliminate trailing whitespace in source files we maintain
John W. Eaton <jwe@octave.org>
parents: 20717
diff changeset
24 am__v_TEX_1 =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 AM_V_PDFTEX = $(am__v_PDFTEX_$(V))
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 am__v_PDFTEX_ = $(am__v_PDFTEX_$(AM_DEFAULT_VERBOSITY))
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 am__v_PDFTEX_0 = @echo " PDFTEX " $@;
20768
7655b399abff eliminate trailing whitespace in source files we maintain
John W. Eaton <jwe@octave.org>
parents: 20717
diff changeset
29 am__v_PDFTEX_1 =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
21128
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
31 ## Conditionally define the following variables so that --disable-docs
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
32 ## can work. If we don't define them, Automake will always define them,
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
33 ## even when AMCOND_BUILD_DOCS is false.
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
34
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
35 INFO_DEPS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
36 DVIS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
37 PDFS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
38 PSS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
39 HTMLS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
40
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
41 include %reldir%/doxyhtml/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
42 include %reldir%/interpreter/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
43 include %reldir%/liboctave/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
44 include %reldir%/refcard/module.mk
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents: 21630
diff changeset
45
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 if AMCOND_BUILD_DOCS
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 ## Listing "dvi" explicitly here seems to cause two simultaneous
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 ## builds of the DVI files, presumably because the PS version
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 ## also depends on the DVI file and somehow the rules are invoked
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 ## twice. Is that a bug in automake or make or what?
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
53 %canon_reldir%_EXTRA_DIST += %reldir%/texmf.cnf
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 endif
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
57 EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
58
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
59 CLEANFILES += $(%canon_reldir%_CLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
60 DISTCLEANFILES += $(%canon_reldir%_DISTCLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
61 MAINTAINERCLEANFILES += $(%canon_reldir%_MAINTAINERCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
62
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents: 21630
diff changeset
63 doc-clean: doc-interpreter-clean doc-liboctave-clean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
64 rm -f $(%canon_reldir%_CLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
65 rm -rf %reldir%/.texmf-var
20416
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
66
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
67 doc-distclean: doc-clean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
68 rm -f $(%canon_reldir%_DISTCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
69
24530
625784a8429c build: clean doxyhtml/ with "maintainer-clean" target.
Rik <rik@octave.org>
parents: 23495
diff changeset
70 doc-maintainer-clean: doc-distclean doxyhtml-maintainer-clean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22042
diff changeset
71 rm -f $(%canon_reldir%_MAINTAINERCLEANFILES)
22042
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 21646
diff changeset
72 rm -rf $(DVIS) $(HTMLS) $(PDFS) $(PSS)