blob: eb1f4af3a2295dcc60bdadd0b89edcd30d08a260 (
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
# ---------------------------------------------------------------
# Makefile for the paresse package by Y. Henel
# modified version of the Makefile of the kerntest package
# many thanks to Harald Harders whose kerntest.xml I have also
# hacked to obtain my paresse.xml
#
# documentation bilingue / bilingual documentation
# ---------------------------------------------------------------
SRCDIR=engrec
INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/engrec
DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/engrec
SOURCEDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/source/latex/engrec
VERSION=1
TEX= engrec.sty \
DOC= engrec.pdf \
FRADOC= \
LISEZMOI \
Changements \
ENGDOC= \
README \
Changes \
SOURCE= \
Makefile \
engrec.dtx \
engrec.ins \
XML= engrec.xml \
TPM= engrec.tpm
# ---------------------------------------------------------------
.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf
# ---------------------------------------------------------------
.ins.sty:
latex $<
.dtx.pdf:
pdflatex $<
makeindex -s gind.ist $(*D)/$(*F)
makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
pdflatex $<
.tex.pdf:
pdflatex $<
pdflatex $<
.dvi.ps:
dvips -o $(*D)/$(*F).ps $(*D)/$(*F)
# ---------------------------------------------------------------
sty: engrec.sty
# ---------------------------------------------------------------
help:
@-echo "******************************************************"
@-echo "* Choisir une des options :"
@-echo "= Choose one of the options:"
@-echo "* 'doc' -> engrec.pdf"
@-echo "* 'sty' -> engrec.sty"
@-echo "* 'dist'-> engrec.sty & doc"
@-echo "* 'clean' petit nettoyage"
@-echo "* 'distclean' (encore plus propre)"
@-echo "* 'tar' -> engrec-VERSION.tar.gz"
@-echo "* 'install-fra' pour l'installation"
@-echo "* de l'extension et de la documentation."
@-echo "************ OU / OR ***********"
@-echo "= 'install-eng' for an installation"
@-echo "= of the English version of package and documentation."
@-echo "************ NOTA BENE ***********"
@-echo "* l'installation est faite par defaut dans TEXMFLOCAL "
@-echo "= by default installs in TEXMFLOCAL"
@-echo "* c'est a dire :"
@-echo "* that is : "
@-echo `kpsewhich --expand-path='$$TEXMFLOCAL'`
@-echo "******************************************************"
dist: sty engrec.pdf
# ---------------------------------------------------------------
clean:
@-rm -f engrec.glo engrec.gls engrec.idx engrec.ilg
@-rm -f engrec.ind engrec.aux engrec.log engrec.toc
@-rm -f engrec.dvi engrec.ps
@-rm -f *~
distclean: clean
@-rm -f engrec.sty
@-rm -f engrec.pdf
# ---------------------------------------------------------------
tar: dist clean
echo engrec-$(VERSION).tar.gz
-rm -f engrec-$(VERSION).tar.gz
tar czCf .. engrec-$(VERSION).tar.gz \
$(SRCDIR)/README \
$(SRCDIR)/LISEZMOI \
$(SRCDIR)/Changes \
$(SRCDIR)/Changements \
$(SRCDIR)/Makefile \
$(SRCDIR)/engrec.dtx \
$(SRCDIR)/engrec.sty \
$(SRCDIR)/engrec.ins \
$(SRCDIR)/engrec.pdf \
$(SRCDIR)/engrec.xml \
$(SRCDIR)/engrec.tpm
# ---------------------------------------------------------------
texlive: sty doc clean
@-rm -rf texmf
mkdir -p texmf/tex/latex/engrec
mkdir -p texmf/doc/latex/engrec
mkdir -p texmf/source/latex/engrec
mkdir -p texmf/tpm/package
mkdir -p texmf/doc/html/catalogue/entries
cp $(TEX) texmf/tex/latex/engrec
cp $(DOC) texmf/doc/latex/engrec
cp $(ENGDOC) texmf/doc/latex/engrec
cp $(FRADOC) texmf/doc/latex/engrec
cp $(SOURCE) texmf/source/latex/engrec
cp $(TPM) texmf/tpm/package
cp $(XML) texmf/doc/html/catalogue/entries
# ---------------------------------------------------------------
zip: texlive
-@rm -f engrec-$(VERSION).zip
zip -r engrec-$(VERSION).zip texmf
@-rm -r texmf/
# ---------------------------------------------------------------
install-fra: sty doc
if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi
if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi
if [ ! -d $(SOURCEDIR) ]; then mkdir -p $(SOURCEDIR); fi
install -m644 $(TEX) $(INSTALLDIR)
install -m644 $(DOC) $(DOCDIR)
install -m644 $(FRADOC) $(DOCDIR)
install -m644 $(SOURCE) $(SOURCEDIR)
texhash
# ---------------------------------------------------------------
install-eng: sty doc
if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi
if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi
if [ ! -d $(SOURCEDIR) ]; then mkdir -p $(SOURCEDIR); fi
install -m644 $(TEX) $(INSTALLDIR)
install -m644 $(DOC) $(DOCDIR)
install -m644 $(ENGDOC) $(DOCDIR)
install -m644 $(SOURCE) $(SOURCEDIR)
texhash
# ---------------------------------------------------------------
install: install-eng
doc: sty engrec.pdf
# ---------------------------------------------------------------
# echu e an abaden
# Le \TeX nicien de surface 2004-05-20
|