Debian Codegraph @

texmf-dist/source/latex/frankenstein/Makefile

raw
1 ## DEAR USER,
2 #
3 # please review the top of this Makefile down to the
4 # "END OF USER-CONFIGURABLE PARAMETERS".
5 #
6 #
7 # Author: Matt Swift <[email protected]>
8
9 #
10 ## User-configurable parameters
11 #
12
13 # MKTEXMF should point to the root of the TEXMF tree into which you want
14 # the files installed.
15 ifndef MKTEXMF
16 MKTEXMF = /usr/local/lib/texmf
17 endif
18
19 # These directories are for Frankenstein filesets.
20 #
21 # MACRODIR = destination for LaTeX classes and packages
22 # CONFIGDIR = destination for package and class configuration files
23 # Some packages and classes in this bundle use configuration
24 # files (with .cfg endings) in addition to the main macro
25 # files ending with .sty or .cls. Normally, CONFIGDIR
26 # should be the same as MACRODIR. If you want to alter the
27 # configuration file, make a copy of it, put it the in the
28 # LaTeX search path prior to the distributed configuration
29 # file, and alter the copy. The CONFIGDIR variable is
30 # provided in case you can't or don't want to follow this
31 # advice.
32 # BIBDIR = destination for BibTeX bibliography styles
33 # MDVIDIR = destination for DVI documentation of LaTeX packages
34 # BDVIDIR = destination for DVI documentation of BibTeX styles
35 # (other documentation formats could be added)
36 # SRCDIR = destination for distributed files not listed above
37
38 # The default values are the TDS-compliant values. If you want to install in
39 # alternative locations, given them different values.
40 #
41 # To see what the TDS-compliant values are, type "make" with no arguments to
42 # see a message that includes them, or look down below just after the end of
43 # the user-configurable variables, where they are defined.
44 MACRODIR = $(TDS-MACRODIR)
45 CONFIGDIR = $(TDS-MACRODIR)
46 BIBDIR = $(TDS-BIBDIR)
47 MDVIDIR = $(TDS-MDVIDIR)
48 BDVIDIR = $(TDS-BDVIDIR)
49 SRCDIR = $(TDS-SRCDIR)
50
51 # If your TeX installation is NOT based on the web2c distribution of TeX,
52 # comment out the assignment of HAVE_WEB2C below. That is, if you do not have
53 # a program called "kpsewhich" on your system, comment the line out. Unix
54 # installations based on teTeX or TeXLive are web2c-based. If you have web2c,
55 # the Makefile will ensure your ls-R databases are kept up to date.
56 ifndef HAVE_WEB2C
57 HAVE_WEB2C = true
58 endif
59
60 # If you want to use the "unsupported" Frankenstein filesets (i.e., "beta" in
61 # this Makefile), you must 1) move the contents of the "unsupported" directory
62 # into this directory; and 2) uncomment the definition here. This value is
63 # irrelevant if you're the developer (see below for what that means).
64
65 # USE_UNSUP = true
66
67 # The installation procedure needs to be able to change to a directory that is
68 # NOT in the LaTeX inputs path. If you don't have web2c, it also needs to be
69 # able to create a temporary file there. Your downloaded Frankenstein
70 # directory should NOT be in the LaTeX inputs path if you want to run this
71 # Makefile (otherwise it's fine, that's one easy way to install Frankenstein,
72 # as explained in the file INSTALL).
73 ifndef TMPDIR
74 TMPDIR = /tmp
75 endif
76
77 # The $USER envariable is compared to $(DEVELOPER). If they match, you are
78 # assumed to be the developer of Frankenstein, rather than the end user, in
79 # which case you have more targets, and some targets do different things. If
80 # you just happen to have 'swift' as a login name, and you don't want to play
81 # developer, change this value to anything but the value of your $USER
82 # envariable.
83 DEVELOPER = swift
84 #######
85 ####### END OF USER-CONFIGURABLE PARAMETERS.
86 #######
87 #
88 ## TDS-compliant installation directories
89 #
90
91 # Frankenstein filesets.
92 TDS-MACRODIR = $(MKTEXMF)/tex/latex/$(bundle-name)
93 TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/achicago
94 # The right BIBDIR depends on what's in your bundle. The following are
95 # plausible possibilities:
96 # TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/$(bundle-name)
97 # TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/misc
98 TDS-MDVIDIR = $(MKTEXMF)/doc/latex/$(bundle-name)
99 TDS-BDVIDIR = $(MKTEXMF)/doc/bibtex
100 TDS-SRCDIR = $(MKTEXMF)/source/latex/$(bundle-name)
101
102 #
103 ## bundle parameters
104 #
105
106 ifeq ($(USER),$(DEVELOPER))
107 # If you change the location of the original "frankenbundle/make" subdirectory, set
108 # make-dir to point to it relative to this directory.
109 make-dir = make
110 else
111 # Don't change this: it's always . for the end user.
112 make-dir = .
113 endif
114
115 # the name of this file
116 calling-makefile = Makefile
117
118 # Used as a directory name. Should be monocase.
119 bundle-name = frankenstein
120
121 # The root name (i.e. no extension) of the archive file. Defaults to the last
122 # segment of stable-dir. (So this example is redundant.)
123 bundle-filename = $(bundle-name)
124
125 # title of the bundle in English
126 bundle-title = Frankenstein
127
128 # Value should be either `LPPL' or `GPL' unless you have extended Frankenbundle
129 # (easy to do). For now, any value other than `LPPL' means `GPL'.
130 #bundle-license = GPL
131 bundle-license = LPPL
132
133 # The file $(bundle-bib).bib in the working directory will be a symlink to the
134 # file $(master-bib.bib). DON'T name an already-existing .bib file containing
135 # data in bundle-bib! It will be deleted by the clean target! The
136 # master-bib.bib file will never be deleted; this is what should contain your
137 # data. The reason we separate these two is so that your master-bib can be in
138 # a different directory than your development directory.
139 #
140 # If you don't have a bundle .bib file, comment these two definitions out.
141 bundle-bib = $(bundle-name)
142 master-bib.bib = /home/swift/library/TeX/texmf/bibtex/bib/Bib.bib
143
144 # Both stable and beta files are distributed. They can live in different
145 # directories on CTAN, but are installed into the same directory in TDS. I may
146 # rethink this in the future; I invite comments. Alpha files are not
147 # distributed.
148
149 # CTAN directories under tex-archive/
150 # NOTE: *-dir variables should neither begin nor end with a slash.
151 # NOTE: Although in the case of Frankenstein beta-dir is a subdirectory of
152 # stable-dir, this need not be true.
153 stable-dir = macros/latex/contrib/supported/frankenstein
154 beta-dir = macros/latex/contrib/supported/frankenstein/unsupported
155
156 # Extra files to put on CTAN (two different directories) and TDS (one
157 # directory). This file, Frankenfile, and the bundle-bib (if defined) will
158 # be automatically included, so you don't need to list them.
159 # You may want to include file(s) corresponding to your $(bundle-license).
160 stable-extra-files = README INSTALL ChangeLog
161 # don't get rid of includex just yet
162 # beta-extra-files = README-unsupported includex-test.tex
163 beta-extra-files = README-unsupported includex-test.tex
164
165 stable-packages = abbrevs achicago attrib blkcntrl compsci dialogue lips \
166 moredefs newclude slemph titles
167 beta-packages = bits drama includex
168 alpha-packages = dblefig epigraph footnote quotes \
169 margins new-margins nimbus-cmb nimbus-mdtb verse letterhead
170
171 # For each package with style option files (.sto files), define a variable like
172 # this: <package-name>-stos = <rootname-of-sto-file> ...
173 newclude-stos = allocate simple tag # group
174
175 stable-classes =
176 beta-classes =
177 alpha-classes = myletter
178
179 # For each class with class option files (.clo files), define a variable like
180 # this: <class-name>-clos = <rootname-of-clo-file> ...
181 # (There are none in Frankenstein.)
182
183 stable-bibstyles = achicago
184 beta-bibstyles =
185 # FIX: I think Frankenfile needs revision to accommodate alpha-bibstyles
186 # alpha-bibstyles = mla
187
188 stable-configs = abbrevs compsci slemph titles
189 beta-configs = bits
190 # NOTE: monster.cfg is a config that doesn't belong to any fileset...hmm.
191 alpha-configs = monster letterhead
192
193 # These bundle macro files are required to generate the DVI documentation for
194 # all bundle macro files. You don't need to list the bundle-bib if you have
195 # one.
196 dox-requirements = abbrevs.sty attrib.sty blkcntrl.sty compsci.sty lips.sty \
197 moredefs.sty slemph.sty titles.sty achicago.sty achicago.bst
198
199 #
200 ## fileset dependencies
201 #
202
203 # For each fileset with dependencies X, define a variable <fileset>-deps to be
204 # a list of other filesets on which it directly depends. Just list the other
205 # filesets that the first fileset DIRECTLY depends on, that is, appears in the
206 # argument of a \RequirePackage (\LoadClass, etc.) or \DoXPackageS command.
207 # (If a direct dependency in turn depends on another fileset, you should be
208 # defining a variable for it as well, and Make will recognize it needs to build
209 # all of them.)
210
211 # Stable filesets must not depend on beta or alpha filesets; beta filesets must
212 # not depend on alpha filesets.
213
214 # stable
215 abbrevs-deps = moredefs,relsize,slemph
216 achicago-deps = blkcntrl moredefs titles
217 achicago-bst-deps = achicago
218 attrib-deps = dialogue moredefs
219 blkcntrl-deps = moredefs
220 compsci-deps = abbrevs lips moredefs slemph titles
221 dialogue-deps = blkcntrl moredefs
222 newclude-deps = moredefs
223 titles-deps = moredefs slemph
224
225 # beta
226 bits-deps = blkcntrl moredefs
227 drama-deps = abbrevs bits dialogue moredefs
228 includex-deps = moredefs
229
230 # alpha
231 dblefig-deps = blkcntrl moredefs
232 epigraph-deps = attrib blkcntrl moredefs
233 footnote-deps = blkcntrl moredefs
234 margins-deps = moredefs
235 new-margins-deps = moredefs
236 quotes-deps = blkcntrl
237
238 #
239 ## include Frankenfile
240 #
241
242 # this must come before any rules in this Makefile
243 include $(make-dir)/Frankenfile
244
245 #
246 ## Emacs file variables
247 # Local Variables:
248 # outline-regexp: "##+"
249 # End: