summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/paresse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/paresse/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/paresse/Makefile201
1 files changed, 201 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/paresse/Makefile b/Master/texmf-dist/source/latex/paresse/Makefile
new file mode 100644
index 00000000000..221c66ed2c9
--- /dev/null
+++ b/Master/texmf-dist/source/latex/paresse/Makefile
@@ -0,0 +1,201 @@
+# ---------------------------------------------------------------
+# 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
+# ---------------------------------------------------------------
+
+SRCDIR=paresse
+INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/paresse
+DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/paresse
+SOURCEDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/source/latex/paresse
+VERSION=1a
+
+TEX= \
+ paresse.sty \
+
+DOC= \
+ paresse.pdf \
+ exemple.tex \
+ exemple-fourier.tex \
+ exemple-fourier.pdf \
+ exemple.pdf \
+ LISEZMOI \
+ paresse.xml \
+
+ENGLISHDOC= \
+ paresse.pdf \
+ example.tex \
+ example.pdf \
+ example-fourier.tex \
+ example-fourier.pdf \
+ README \
+ paresse.xml \
+
+SOURCE= \
+ Makefile \
+ paresse.dtx \
+ paresse.ins \
+
+ENGLISHSOURCE= \
+ Makefile \
+ english-paresse.dtx \
+ english-paresse.ins \
+
+# ---------------------------------------------------------------
+
+.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)
+
+# ---------------------------------------------------------------
+
+help:
+ @-echo "******************************************************"
+ @-echo "** Choisir une des options :"
+ @-echo "== Choose one of the options:"
+ @-echo "** 'doc' ou 'frenchdoc' pour la documentation"
+ @-echo "== 'englishdoc' for the English documentation"
+ @-echo "** 'sty' -> paresse.sty (version francaise)"
+ @-echo "== 'eng-sty' -> paresse.sty (English version)"
+ @-echo "** 'dist'-> paresse.sty & frenchdoc & englishdoc"
+ @-echo "** 'clean' petit nettoyage"
+ @-echo "** 'distclean' (encore plus propre)"
+ @-echo "** 'tar' -> paresse-VERSION.tar.gz"
+ @-echo "** 'install' pour l'installation"
+ @-echo "** de l'extension et de la documentation."
+ @-echo "== OR 'install-english' 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 / that is : "`kpsewhich --expand-path='$$TEXMFLOCAL'`
+ @-echo "******************************************************"
+
+sty: paresse.sty
+
+eng-sty:
+ latex english-paresse.ins
+
+dist: sty example.pdf exemple.pdf \
+ english-paresse.pdf paresse.pdf \
+ exemple-fourier.pdf example-fourier.pdf
+
+# ---------------------------------------------------------------
+
+clean:
+ @-rm -f paresse.glo paresse.gls paresse.idx paresse.ilg
+ @-rm -f paresse.ind paresse.aux paresse.log paresse.toc
+ @-rm -f english-paresse.glo english-paresse.gls
+ @-rm -f english-paresse.ind english-paresse.aux
+ @-rm -f english-paresse.idx english-paresse.ilg
+ @-rm -f english-paresse.log english-paresse.toc
+ @-rm -f *~
+ @-rm -f example.aux example.dvi
+ @-rm -f example.log example.ps
+ @-rm -f exemple.aux exemple.dvi
+ @-rm -f exemple.log exemple.ps
+ @-rm -f example-fourier.aux example-fourier.dvi
+ @-rm -f example-fourier.log example-fourier.ps
+ @-rm -f exemple-fourier.aux exemple-fourier.dvi
+ @-rm -f exemple-fourier.log exemple-fourier.ps
+
+distclean: clean
+ @-rm -f paresse.sty
+ @-rm -f english-paresse.pdf
+ @-rm -f french-paresse.pdf
+ @-rm -f paresse.pdf
+ @-rm -f example.pdf
+ @-rm -f exemple.pdf
+ @-rm -f exemple-fourier.pdf
+ @-rm -f example-fourier.pdf
+ @-rm -f exemple.pdf
+
+# ---------------------------------------------------------------
+
+tar: dist clean
+ echo paresse-$(VERSION).tar.gz
+ -rm -f paresse-$(VERSION).tar.gz
+ tar czCf .. paresse-$(VERSION).tar.gz \
+ $(SRCDIR)/README \
+ $(SRCDIR)/Makefile \
+ $(SRCDIR)/paresse.dtx \
+ $(SRCDIR)/english-paresse.dtx \
+ $(SRCDIR)/paresse.ins \
+ $(SRCDIR)/paresse.pdf \
+ $(SRCDIR)/english-paresse.pdf \
+ $(SRCDIR)/paresse.xml \
+ $(SRCDIR)/example.tex \
+ $(SRCDIR)/exemple.tex \
+ $(SRCDIR)/example.pdf \
+ $(SRCDIR)/exemple.pdf \
+ $(SRCDIR)/example-fourier.pdf \
+ $(SRCDIR)/exemple.pdf \
+
+# ---------------------------------------------------------------
+
+texlive: sty clean
+ @-rm -rf texmf-dist
+ mkdir -p texmf-dist/tex/latex/paresse
+ mkdir -p texmf-dist/doc/latex/paresse
+ mkdir -p texmf-dist/source/latex/paresse
+ cp $(TEX) texmf-dist/tex/latex/paresse
+ cp $(DOC) texmf-dist/doc/latex/paresse
+ cp $(SOURCE) texmf-dist/source/latex/paresse
+
+# ---------------------------------------------------------------
+
+zip: texlive
+ -@rm -f paresse-$(VERSION).zip
+ zip -r paresse-$(VERSION).zip texmf-dist
+ @-rm -r texmf-dist/
+
+# ---------------------------------------------------------------
+
+install: 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 $(SOURCE) $(SOURCEDIR)
+ texhash
+# ---------------------------------------------------------------
+
+install-english: eng-sty englishdoc
+ @-mv english-paresse.pdf paresse.pdf
+ 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 $(ENGLISHDOC) $(DOCDIR)
+ install -m644 $(ENGLISHSOURCE) $(SOURCEDIR)
+ texhash
+
+# ---------------------------------------------------------------
+
+paresse.sty: paresse.ins paresse.dtx
+doc: sty paresse.pdf exemple.pdf \
+ exemple-fourier.pdf
+englishdoc: eng-sty english-paresse.pdf \
+ example.pdf example-fourier.pdf
+
+frenchdoc: doc
+# ---------------------------------------------------------------
+# echu e an abaden
+# Le \TeX nicien de surface 2005-03-01