| 1 |
XCOMM $Id: Imakefile,v 1.9 1995/11/20 22:34:44 schrod Exp $ |
| 2 |
/* ---------------------------------------------------------------------- */ |
| 3 |
|
| 4 |
/* |
| 5 |
* Imakefile for test of cweb bundle |
| 6 |
* |
| 7 |
* (history at end) |
| 8 |
*/ |
| 9 |
|
| 10 |
|
| 11 |
/* needed modules */ |
| 12 |
#define idx NO_IDX_CLEAN /* don't delete *.idx on make clean */ |
| 13 |
#include <TeX.imk> |
| 14 |
#undef idx |
| 15 |
|
| 16 |
XCOMM ------------------------------------------------------------ |
| 17 |
XCOMM continue in Imakefile |
| 18 |
|
| 19 |
.SUFFIXES: .tex .w |
| 20 |
|
| 21 |
.w.tex: @@\ |
| 22 |
if [ -r $*.ch ] ; \ @@\ |
| 23 |
then cweave $* $* ; \ @@\ |
| 24 |
else cweave $* ; \ @@\ |
| 25 |
fi |
| 26 |
|
| 27 |
|
| 28 |
regression:: clean |
| 29 |
$(MAKE) all |
| 30 |
|
| 31 |
|
| 32 |
/* ============================================================ |
| 33 |
* |
| 34 |
* tests for cweb class & cwebarray package |
| 35 |
*/ |
| 36 |
|
| 37 |
TeXTarget(latex,minimal) /* minimal document */ |
| 38 |
TeXTarget(latex,token) /* rendering of tokens */ |
| 39 |
TeXTarget(latex,refname) /* refinement names, filename ref. */ |
| 40 |
TeXTarget(latex,modes) /* cweb FSA */ |
| 41 |
TeXTarget(latex,section) /* hierarchic document structure */ |
| 42 |
TeXTarget(latex,flat) /* flat document structure */ |
| 43 |
TeXTarget(latex,report) /* report as base class */ |
| 44 |
TeXTarget(latex,nolists) /* nolists via CWEAVE option -x */ |
| 45 |
TeXTarget(latex,newif) /* idiosyncrasy of old LateX version */ |
| 46 |
|
| 47 |
TeXTarget(latex,enddocbegin) /* skip stuff after \end{document} */ |
| 48 |
TeXTarget(latex,vbar) /* ruled table [cwebarray] */ |
| 49 |
TeXTarget(latex,titlepage) /* titlepage option */ |
| 50 |
|
| 51 |
TeXTarget(latex,language-german) /* language option german */ |
| 52 |
TeXTarget(latex,german) /* babel-compatible option german */ |
| 53 |
|
| 54 |
TeXTarget(latex,change) /* changefile-related output */ |
| 55 |
TeXTarget(latex,sup-changes) /* changefile-related suppression */ |
| 56 |
|
| 57 |
TeXTarget(latex,sup-lists) /* suppression of index & reflist */ |
| 58 |
TeXTarget(latex,sup-format) /* suppression of format directives */ |
| 59 |
|
| 60 |
TeXTarget(latex '\nonstopmode \input',badend) /* unknown \end expansion */ |
| 61 |
TeXTarget(latex '\nonstopmode \input',badopts) /* unknown & illegal options */ |
| 62 |
|
| 63 |
|
| 64 |
/* |
| 65 |
* Special (additional) rules for targets above |
| 66 |
*/ |
| 67 |
|
| 68 |
nolists.tex: nolists.w |
| 69 |
cweave -x nolists |
| 70 |
|
| 71 |
change.tex: change.ch |
| 72 |
|
| 73 |
sup-changes.tex: sup-changes.w change.ch |
| 74 |
cweave sup-changes change |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
/* ============================================================ |
| 79 |
* |
| 80 |
* tests for packages |
| 81 |
*/ |
| 82 |
|
| 83 |
/* cwebparts */ |
| 84 |
|
| 85 |
TeXTarget(latex,parts) /* CWEB parts in LaTeX document */ |
| 86 |
|
| 87 |
parts.dvi: parts-code.tex |
| 88 |
|
| 89 |
parts-code.tex: parts-code.w |
| 90 |
cweave -x parts-code |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
/* ============================================================ |
| 95 |
* |
| 96 |
* Tests for stuff that is not strictly part of the cweb bundle. |
| 97 |
*/ |
| 98 |
|
| 99 |
TeXTarget(latex,keyvald) /* keyword-value options w/ defaults */ |
| 100 |
|
| 101 |
|
| 102 |
realclean:: clean |
| 103 |
rm -f *.idx *.scn *.tex |
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
/* ============================================================ |
| 108 |
* |
| 109 |
* $Log: Imakefile,v $ |
| 110 |
* Revision 1.9 1995/11/20 22:34:44 schrod |
| 111 |
* Test language support, actually for German. |
| 112 |
* |
| 113 |
* Revision 1.8 1995/11/07 18:28:52 schrod |
| 114 |
* Add test newif, for old LaTeX version. |
| 115 |
* |
| 116 |
* Revision 1.7 1995/09/17 14:21:36 schrod |
| 117 |
* Test package cwbl-german. |
| 118 |
* |
| 119 |
* Revision 1.6 1995/09/16 17:02:09 schrod |
| 120 |
* Test cwebparts.sty. |
| 121 |
* |
| 122 |
* Revision 1.5 1995/09/12 22:32:21 schrod |
| 123 |
* Add test case for output of CWEAVE with `-x' option. |
| 124 |
* |
| 125 |
* Revision 1.4 1995/08/29 15:22:14 schrod |
| 126 |
* Add test of format directive suppression. |
| 127 |
* |
| 128 |
* Revision 1.3 1995/08/27 13:29:38 schrod |
| 129 |
* Tests of options & changefile-related suppression. |
| 130 |
* |
| 131 |
* Revision 1.2 1995/08/25 19:12:39 schrod |
| 132 |
* Test implementation of hierarchic and flat structure. |
| 133 |
* |
| 134 |
* Revision 1.1 1995/08/08 00:14:46 schrod |
| 135 |
* Updated to \LaTeXe{}, the |cweb| style is now a document class. |
| 136 |
* |
| 137 |
|
| 138 |
* ------------------------------------------------------------ |
| 139 |
* Local Variables: |
| 140 |
* mode: Indented-Text |
| 141 |
* End: |
| 142 |
*/ |