summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/engrec/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:52:46 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:52:46 +0000
commit2b53b8e135dd478d585fb05dc0035627dd6c78f0 (patch)
tree7682c670c03acea3a817b7efc784d12effd9d386 /Master/texmf-dist/source/latex/engrec/Makefile
parent8b746f3449452a5319992a8edb44b3d84de044b1 (diff)
trunk/Master/texmf-dist/source/latex/engrec
git-svn-id: svn://tug.org/texlive/trunk@250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/engrec/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/engrec/Makefile173
1 files changed, 173 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/engrec/Makefile b/Master/texmf-dist/source/latex/engrec/Makefile
new file mode 100644
index 00000000000..eb1f4af3a22
--- /dev/null
+++ b/Master/texmf-dist/source/latex/engrec/Makefile
@@ -0,0 +1,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