summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cweb/src/test/Imakefile
blob: 0d32d8301c369293e9b7ef1c594c6d66ac023977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
XCOMM $Id: Imakefile,v 1.9 1995/11/20 22:34:44 schrod Exp $
/* ---------------------------------------------------------------------- */

/*
 * Imakefile for test of cweb bundle
 *
 * (history at end)
 */


/* needed modules */
#define idx NO_IDX_CLEAN	/* don't delete *.idx on make clean */
#include <TeX.imk>
#undef idx

XCOMM ------------------------------------------------------------
XCOMM continue in Imakefile

.SUFFIXES: .tex .w

.w.tex:									@@\
	if [ -r $*.ch ] ; \						@@\
	   then	cweave $* $* ; \					@@\
	   else	cweave $* ; \						@@\
	fi


regression:: clean
	$(MAKE) all


/* ============================================================
 *
 * 	tests for cweb class & cwebarray package
 */

TeXTarget(latex,minimal)		/* minimal document */
TeXTarget(latex,token)			/* rendering of tokens */
TeXTarget(latex,refname)		/* refinement names, filename ref. */
TeXTarget(latex,modes)			/* cweb FSA */
TeXTarget(latex,section)		/* hierarchic document structure */
TeXTarget(latex,flat)			/* flat document structure */
TeXTarget(latex,report)			/* report as base class */
TeXTarget(latex,nolists)		/* nolists via CWEAVE option -x */
TeXTarget(latex,newif)			/* idiosyncrasy of old LateX version */

TeXTarget(latex,enddocbegin)		/* skip stuff after \end{document} */
TeXTarget(latex,vbar)			/* ruled table [cwebarray] */
TeXTarget(latex,titlepage)		/* titlepage option */

TeXTarget(latex,language-german)	/* language option german */
TeXTarget(latex,german)			/* babel-compatible option german */

TeXTarget(latex,change)			/* changefile-related output */
TeXTarget(latex,sup-changes)		/* changefile-related suppression */

TeXTarget(latex,sup-lists)		/* suppression of index & reflist */
TeXTarget(latex,sup-format)		/* suppression of format directives */

TeXTarget(latex '\nonstopmode \input',badend)	/* unknown \end expansion */
TeXTarget(latex '\nonstopmode \input',badopts)	/* unknown & illegal options */


/*
 * Special (additional) rules for targets above
 */

nolists.tex: nolists.w
	cweave -x nolists

change.tex: change.ch

sup-changes.tex: sup-changes.w change.ch
	cweave sup-changes change



/* ============================================================
 *
 * 	tests for packages
 */

/* cwebparts */

TeXTarget(latex,parts)			/* CWEB parts in LaTeX document */

parts.dvi: parts-code.tex

parts-code.tex: parts-code.w
	cweave -x parts-code



/* ============================================================
 *
 * Tests for stuff that is not strictly part of the cweb bundle.
 */

TeXTarget(latex,keyvald)   		/* keyword-value options w/ defaults */


realclean:: clean
	rm -f *.idx *.scn *.tex



/* ============================================================
 *
 * $Log: Imakefile,v $
 * Revision 1.9  1995/11/20  22:34:44  schrod
 *     Test language support, actually for German.
 *
 * Revision 1.8  1995/11/07  18:28:52  schrod
 *     Add test newif, for old LaTeX version.
 *
 * Revision 1.7  1995/09/17  14:21:36  schrod
 *     Test package cwbl-german.
 *
 * Revision 1.6  1995/09/16  17:02:09  schrod
 *     Test cwebparts.sty.
 *
 * Revision 1.5  1995/09/12  22:32:21  schrod
 *     Add test case for output of CWEAVE with `-x' option.
 *
 * Revision 1.4  1995/08/29  15:22:14  schrod
 *     Add test of format directive suppression.
 *
 * Revision 1.3  1995/08/27  13:29:38  schrod
 *     Tests of options & changefile-related suppression.
 *
 * Revision 1.2  1995/08/25  19:12:39  schrod
 * Test implementation of hierarchic and flat structure.
 *
 * Revision 1.1  1995/08/08  00:14:46  schrod
 * Updated to \LaTeXe{}, the |cweb| style is now a document class.
 *

 * ------------------------------------------------------------
 * Local Variables:
 * mode: Indented-Text
 * End:
 */