summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/modroman/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:55:13 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:55:13 +0000
commit5185c8bb863b3923d54b8281306721bf06e0f452 (patch)
tree491e34671ce26ae4aeb1a7fe47fafbde6fa133f4 /Master/texmf-dist/source/latex/modroman/Makefile
parentaa60133839449fe078187651f723e3c1ab36e1fd (diff)
trunk/Master/texmf-dist/source/latex/modroman
git-svn-id: svn://tug.org/texlive/trunk@392 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/modroman/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/modroman/Makefile147
1 files changed, 147 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/modroman/Makefile b/Master/texmf-dist/source/latex/modroman/Makefile
new file mode 100644
index 00000000000..e05029d36f0
--- /dev/null
+++ b/Master/texmf-dist/source/latex/modroman/Makefile
@@ -0,0 +1,147 @@
+# ---------------------------------------------------------------
+# Makefile for the modroman 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 modroman.xml
+# ---------------------------------------------------------------
+
+SRCDIR=modroman
+INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/modroman
+DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/modroman
+SOURCEDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/source/latex/modroman
+VERSION=0.3
+
+TEX= \
+ modroman.sty \
+
+DOC= \
+ modroman.pdf \
+ LISEZMOI.txt \
+
+ENGLISHDOC= \
+ modroman.pdf \
+ README.txt \
+
+SOURCE= \
+ Makefile \
+ modroman.dtx \
+ modroman.ins \
+
+CTAN= \
+ modroman.xml \
+ modroman.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)
+
+# ---------------------------------------------------------------
+
+all: modroman.sty modroman.pdf
+
+help:
+ @-echo "******************************************************"
+ @-echo "*"
+ @-echo "* Choisir une des options :"
+ @-echo "* 'all' -> modroman.sty "
+ @-echo "* 'doc' ou 'frenchdoc' pour la documentation"
+ @-echo "* 'englishdoc' for the English documentation"
+ @-echo "* 'sty' -> modroman.sty "
+ @-echo "* 'dist'-> modroman.sty & frenchdoc & englishdoc"
+ @-echo "* 'clean' petit nettoyage"
+ @-echo "* 'distclean' (encore plus propre)"
+ @-echo "* 'tar' -> modroman-VERSION.tar.gz"
+ @-echo "* 'install' pour l'installation"
+ @-echo "* OR 'install-english' for an installation"
+ @-echo "* with the English version of the documentation"
+ @-echo "************ NOTA BENE ***********"
+ @-echo "*"
+ @-echo "* l'installation est faite par defaut dans TEXMFLOCAL "
+ @-echo "* by default installs in TEXMFLOCAL"
+ @-echo "* c'est a dire that is : "
+ @-echo "* " `kpsewhich --expand-path='$$TEXMFLOCAL'`
+ @-echo "*"
+ @-echo "******************************************************"
+
+dist: all clean
+
+# ---------------------------------------------------------------
+
+clean:
+ @-rm -f modroman.glo modroman.gls modroman.idx modroman.ilg
+ @-rm -f modroman.ind modroman.aux modroman.log modroman.toc
+ @-rm -f *~
+
+distclean: clean
+ @-rm -f modroman.sty
+ @-rm -f modroman.pdf
+
+# ---------------------------------------------------------------
+
+tar: dist
+ @-echo modroman-$(VERSION).tar.gz
+ @-rm -f modroman-$(VERSION).tar.gz
+ tar czCf .. modroman-$(VERSION).tar.gz \
+ $(SRCDIR)/README.txt \
+ $(SRCDIR)/LISEZMOI.txt \
+ $(SRCDIR)/Makefile \
+ $(SRCDIR)/modroman.dtx \
+ $(SRCDIR)/modroman.ins \
+ $(SRCDIR)/modroman.pdf \
+ $(SRCDIR)/modroman.xml \
+ $(SRCDIR)/modroman.tpm \
+
+# ---------------------------------------------------------------
+
+texlive: all clean
+ @-rm -rf texmf
+ mkdir -p texmf/tex/latex/modroman
+ mkdir -p texmf/doc/latex/modroman
+ mkdir -p texmf/source/latex/modroman
+ cp $(TEX) texmf/tex/latex/modroman
+ cp $(DOC) texmf/doc/latex/modroman
+ cp $(SOURCE) texmf/source/latex/modroman
+
+# ---------------------------------------------------------------
+
+zip: texlive
+ -@rm -f modroman-$(VERSION).zip
+ zip -r modroman-$(VERSION).zip texmf
+ @-rm -r texmf/
+
+# ---------------------------------------------------------------
+
+install: all 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
+# ---------------------------------------------------------------
+
+modroman.sty: modroman.ins modroman.dtx
+doc: modroman.ins modroman.pdf
+englishdoc: modroman.ins modroman.pdf
+frenchdoc: doc
+# ---------------------------------------------------------------
+# echu e an abaden
+# Le \TeX nicien de surface 2004-05-19