summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/listings-ext/listings-ext.ins
blob: 603d9105e860cb5a895181e973f9db54f95d124f (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
%%
%% $Revision: 44 $
%%
%% This file will generate fast loadable files and documentation
%% driver files from the .dtx files in this package when run through
%% LaTeX or TeX.
%%
%% IMPORTANT COPYRIGHT NOTICE:
%%
%% No other permissions to copy or distribute this file in any form
%% are granted and in particular NO PERMISSION to modify its contents.
%%
%% You are NOT ALLOWED to change this file.
%%
%% --------------- start of docstrip commands ------------------
%%
\def\batchfile{listings-ext.ins}
\input docstrip.tex

\preamble

Copyright (C) 2008-2009 Jobst Hoffmann, <j.hoffmann@fh-aachen.de>
-----------------------------------------------------------------

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.2
of this license or (at your option) any later version.
The latest version of this license is in:

    http://www.latex-project.org/lppl.txt

and version 1.2 or later is part of all distributions of LaTeX
version 1999/12/01 or later.

Please address error reports and any problems in case of UNCHANGED versions
to
        j.hoffmann@fh-aachen.de
\endpreamble

\declarepostamble\examplepost
\endpostamble

%\BaseDirectory{~/TeX/texmf}
%\UseTDS
%\usedir{tex/latex/jhf}

\keepsilent
\askonceonly

%\def\targetdirectory{}                          % or may be for example
%\def\targetdirectory{./../../texmf/tex/latex/jhf}


% programs and packages

\Msg{*** Generating the package files ***}

\generate%
{%
    \askforoverwritefalse
    \file{listings-ext.sty}{%
      \from{listings-ext.dtx}{extension}}
}

\Msg{*** Generating the test and example files ***}

\preamble
\endpreamble
\generate%
{%
    \askforoverwritefalse
    \nopreamble\nopostamble\def\MetaPrefix{}%
    \file{listings-ext_exmpl_a.java}{\from{listings-ext.dtx}{example1}}
    \file{listings-ext_exmpl_b.java}{\from{listings-ext.dtx}{example2}}
    \file{listings-ext_exmpl_c.java}{\from{listings-ext.dtx}{example3}}
    \file{listings-ext_exmpl_d.java}{\from{listings-ext.dtx}{example4}}
    \file{listings-ext_test_a.tex}{\from{listings-ext.dtx}{test1}}
    \file{listings-ext_test_d.tex}{\from{listings-ext.dtx}{test2}}
}

\Msg{*** Generating make file and make setup file  ***}
\generate
{%
    \nopreamble\nopostamble\def\MetaPrefix{}%
    \file{getversion.tex}{\from{listings-ext.dtx}{getversion}}%
    \file{hyperref.cfg}{\from{listings-ext.dtx}{hyperref}}%
    \file{listings-ext.bib}{\from{listings-ext.dtx}{bibtex}}%
    \file{listings-ext.el}{\from{listings-ext.dtx}{auctex}}%
    \file{listings-ext.mk}{\from{listings-ext.dtx}{makefile}}%
    \file{listings-ext.makemake}{\from{listings-ext.dtx}{setup}}%
    \file{listings.cfg}{\from{listings-ext.dtx}{listings}}%
}

\Msg{*** Generating the script file ***}
\generate
{%
    \nopreamble\nopostamble\def\MetaPrefix{}%
    \file{listings-ext.sh}{\from{listings-ext.dtx}{scriptfile}}%
}

\ifToplevel{%
\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* style file(s) into a directory searched by TeX:}
\Msg{*}
\Msg{* \space\space listings-ext.sty}
\Msg{*}
\Msg{* To produce the documentation run the file(s) ending with}
\Msg{* `.dtx' through LaTeX.}
\Msg{*}
\Msg{* Happy TeXing}
\Msg{***********************************************************}
}

\endinput
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% mode: flyspell
%%% ispell-local-dictionary: "english"
%%% End: