summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/modroman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/modroman/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/modroman/Makefile63
1 files changed, 41 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/modroman/Makefile b/Master/texmf-dist/source/latex/modroman/Makefile
index c830cdf1c5e..0df7d1f8be0 100644
--- a/Master/texmf-dist/source/latex/modroman/Makefile
+++ b/Master/texmf-dist/source/latex/modroman/Makefile
@@ -5,49 +5,65 @@
# hacked to obtain my modroman.xml
# ---------------------------------------------------------------
PKGNAME = modroman
-VERSION=0-4 # Edition du cinquantenaire
-
-TEX= \
- $(PKGNAME).sty \
-
-DOC= \
- $(PKGNAME).pdf \
- LISEZMOI \
- README \
+VERSION=1
SOURCE= \
Makefile \
$(PKGNAME).dtx \
$(PKGNAME).ins \
+ LISEZMOI \
+ README \
PRODUITS = \
$(PKGNAME).sty \
+ MODRdoctools.sty \
$(PKGNAME).pdf \
+ $(PKGNAME)-fr.pdf \
+ $(PKGNAME)-en.pdf \
+ MODRbiblio.tex \
+
+SRCDOC= \
+ $(PKGNAME).dtx
+
+TEXDOC= \
+ MODRdoctools.sty \
+ $(PKGNAME)-fr.tex \
+ $(PKGNAME)-en.tex \
+
+PDFDOC= \
+ $(PKGNAME).pdf \
+ $(PKGNAME)-fr.pdf \
+ $(PKGNAME)-en.pdf \
+
+DOC= \
+ $(PDFDOC)\
+ $(SRCDOC)\
+ $(TEXDOC)
+
+CTANDOC= \
+ $(PDFDOC)
DECHETS = \
- $(PKGNAME).glo \
- $(PKGNAME).gls \
- $(PKGNAME).idx \
- $(PKGNAME).ilg \
- $(PKGNAME).ind \
- $(PKGNAME).aux \
- $(PKGNAME).log \
- $(PKGNAME).toc
+ $(TEXDOC)\
+ $(PDFDOC)\
+ $(PKGNAME).{toc,aux,glo,gls,idx,ind,ilg,out,log}\
+ $(PKGNAME)-en.{toc,aux,glo,gls,idx,ind,ilg,out,log}\
+ $(PKGNAME)-fr.{toc,aux,glo,gls,idx,ind,ilg,out,log}\
REPERTS = \
doc \
tex \
source
+TEX = $(PKGNAME).sty
# ---------------------------------------------------------------
-.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf
+.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf .tex
# ---------------------------------------------------------------
.ins.sty:
latex $<
-
.dtx.pdf:
pdflatex $<
makeindex -s gind.ist $(*D)/$(*F)
@@ -60,12 +76,13 @@ REPERTS = \
# ---------------------------------------------------------------
-all: $(PKGNAME).sty $(PKGNAME).pdf
+all: distclean $(TEXDOC) $(PRODUITS)
help:
@-echo "******************************************************"
@-echo "*"
@-echo "* Choisir une des options :"
+ @-echo "* Choose one option:"
@-echo "* 'all' -> modroman.sty "
@-echo "* 'doc' pour la documentation"
@-echo "* 'doc' for the documentation"
@@ -98,7 +115,7 @@ texlive: all clean
@-cp $(DOC) doc/latex/$(PKGNAME)
@-cp $(SOURCE) source/latex/$(PKGNAME)
@-mkdir -p $(PKGNAME)
- @-cp $(DOC) ./$(PKGNAME)
+ @-cp $(CTANDOC) ./$(PKGNAME)
@-cp $(SOURCE) ./$(PKGNAME)
# ---------------------------------------------------------------
@@ -116,6 +133,8 @@ zip: texlive
$(PKGNAME).sty: $(PKGNAME).ins $(PKGNAME).dtx
doc: $(PKGNAME).ins $(PKGNAME).pdf
+$(TEXDOC): $(PKGNAME).ins $(PKGNAME).dtx
+$(PDFDOC): $(TEXDOC)
# ---------------------------------------------------------------
# echu e an abaden
-# Le \TeX nicien de surface 2008-05-04
+# Le \TeX nicien de surface 2010-04-09