diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/Makefile | 107 |
1 files changed, 56 insertions, 51 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/Makefile b/Master/texmf-dist/source/latex/koma-script/Makefile index bef6476017d..32da8d12b2d 100644 --- a/Master/texmf-dist/source/latex/koma-script/Makefile +++ b/Master/texmf-dist/source/latex/koma-script/Makefile @@ -1,6 +1,6 @@ # ====================================================================== # Makefile -# Copyright (c) Markus Kohm, 2002-2012 +# Copyright (c) Markus Kohm, 2002-2013 # # This file is part of the LaTeX2e KOMA-Script bundle. # @@ -18,7 +18,7 @@ # This work consists of all files listed in manifest.txt. # ---------------------------------------------------------------------- # Makefile -# Copyright (c) Markus Kohm, 2002-2012 +# Copyright (c) Markus Kohm, 2002-2013 # # Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, # Version 1.3c, verteilt und/oder veraendert werden. @@ -55,8 +55,8 @@ export MAINTAINDIR := $(DISTDIR)-maintain # ---------------------------------------------------------------------- # More than once used: # Make implementation documentation -define makedvifromdtx - if ! $(LATEX) $(NONSTOPMODE) $(DVIOUTPUT) $<; then \ +define makepdffromdtx + if ! $(LATEX) $(NONSTOPMODE) $(PDFOUTPUT) $<; then \ $(RM) -v $@; \ exit 1; \ fi @@ -65,7 +65,7 @@ define makedvifromdtx while $$oncemore; \ do \ if ! $(MKINDEX) $(basename $<) \ - || ! $(LATEX) $(NONSTOPMODE) $(DVIOUTPUT) $<; then \ + || ! $(LATEX) $(NONSTOPMODE) $(PDFOUTPUT) $<; then \ $(RM) -v $@; \ exit 1; \ fi; \ @@ -82,14 +82,10 @@ endef MAKE_FILES = Makefile Makefile.baserules Makefile.baseinit # ---------------------------------------------------------------------- # make classes, packages, etc. -INS_TEMPLATES = scrstrip.inc \ - scrstrop.inc - CLS_MAIN = scrbook.cls \ scrreprt.cls \ scrartcl.cls \ scrlttr2.cls \ - scrlettr.cls \ typearea.sty \ scrsize10pt.clo \ scrsize11pt.clo \ @@ -99,7 +95,6 @@ CLS_MAIN = scrbook.cls \ scrbase.sty \ scrkbase.sty \ scraddr.sty \ - scrpage.sty \ scrpage2.sty \ scrtime.sty \ scrdate.sty \ @@ -127,44 +122,49 @@ CLS_MAIN = scrbook.cls \ NipponLH.lco \ NipponLL.lco \ NipponRL.lco \ - KakuLL.lco + KakuLL.lco \ + scrlayer.sty \ + scrlayer-scrpage.sty \ + scrlayer-notecolumn.sty CLS_MAIN_DTX = scrbeta.dtx \ - scrkbase.dtx \ - scrkbib.dtx \ - scrkcile.dtx \ - scrkcomp.dtx \ - scrkfloa.dtx \ - scrkfont.dtx \ - scrkftn.dtx \ - scrkidx.dtx \ - scrklang.dtx \ - scrklco.dtx \ + scrkernel-basics.dtx \ + scrkernel-bibliography.dtx \ + scrkernel-circularletters.dtx \ + scrkernel-compatibility.dtx \ + scrkernel-floats.dtx \ + scrkernel-fonts.dtx \ + scrkernel-footnotes.dtx \ + scrkernel-index.dtx \ + scrkernel-language.dtx \ + scrkernel-letterclassoptions.dtx \ japanlco.dtx \ - scrkliof.dtx \ - scrklist.dtx \ - scrkmisc.dtx \ - scrknpap.dtx \ - scrkpage.dtx \ - scrkpar.dtx \ - scrkplen.dtx \ - scrksect.dtx \ - scrktare.dtx \ - scrktitl.dtx \ - scrkvars.dtx \ - scrkvers.dtx \ + scrkernel-listsof.dtx \ + scrkernel-listsandtabulars.dtx \ + scrkernel-miscellaneous.dtx \ + scrkernel-notepaper.dtx \ + scrkernel-pagestyles.dtx \ + scrkernel-paragraphs.dtx \ + scrkernel-pseudolengths.dtx \ + scrkernel-sections.dtx \ + scrkernel-typearea.dtx \ + scrkernel-title.dtx \ + scrkernel-variables.dtx \ + scrkernel-version.dtx \ scrlfile.dtx \ scrwfile.dtx \ scraddr.dtx \ scrpage.dtx \ scrtime.dtx \ - scrlettr.dtx \ scrlogo.dtx \ scrextend.dtx \ scrhack.dtx \ scrjura.dtx \ tocbasic.dtx \ - tocstyle.dtx + tocstyle.dtx \ + scrlayer.dtx \ + scrlayer-scrpage.dtx \ + scrlayer-notecolumn.dtx STATIC_DOC = README \ INSTALL.txt \ @@ -174,20 +174,18 @@ STATIC_DOC = README \ manifest.txt \ komabug.tex -CLS_MAIN_DVI = scrsource.dvi +CLS_MAIN_DVI = scrsource.pdf CLS_MAIN_INS = scrmain.ins -CLS_MAIN_SUBINS = scrlfile.ins scraddr.ins scrlettr.ins scrpage.ins +CLS_MAIN_SUBINS = scrstrip.inc scrstrop.inc scrdocstrip.tex -ALPHA_INS = tocstyle.dtx tocbasic.dtx scrjura.dtx scrwfile.dtx +ALPHA_INS = tocstyle.dtx scrjura.dtx scrwfile.dtx ALPHA_DOC = tocstyle.pdf scrjura.pdf scrhack.pdf ALPHA_DTX = $(subst .pdf,.dtx,$(ALPHA_DOC)) -DTX_IS_INS = tocstyle.dtx tocbasic.dtx scrjura.dtx scrwfile.dtx - CLS_MAIN_SRC = $(CLS_MAIN_DTX) $(CLS_MAIN_INS) $(CLS_MAIN_SUBINS) \ scrsource.tex @@ -198,12 +196,12 @@ $(ALPHA_DOC): $(ALPHA_DTX) $(MKINDEX) $(subst .pdf,,$@) $(LATEX) $(BATCHMODE) $(PDFOUTPUT) $(subst .pdf,.dtx,$@) -$(CLS_MAIN): $(CLS_MAIN_DVI) $(CLS_MAIN_INS) $(INS_TEMPLATES) $(MAKE_FILES) +$(CLS_MAIN): $(CLS_MAIN_DVI) $(CLS_MAIN_INS) $(MAKE_FILES) $(TEXUNPACK) $(CLS_MAIN_INS) $(foreach alphains,$(ALPHA_INS),$(TEXUNPACK) $(alphains);) -scrsource.dvi: scrsource.tex $(CLS_MAIN_DTX) $(MAKE_FILES) scrdoc.cls - $(makedvifromdtx) +scrsource.pdf: scrsource.tex $(CLS_MAIN_DTX) $(MAKE_FILES) scrdoc.cls + $(makepdffromdtx) scrdoc.cls: scrdoc.dtx $(SSYMLINK) scrdoc.dtx scrdoc.cls @@ -219,12 +217,12 @@ NODIST_GENERATED = $(CLS_DVIS) $(CLS_FILES) $(ALPHA_DOC) GENERATED = $(NODIST_GENERATED) ChangeLog \ scrjura.ins \ - scrlettr.drv \ scrwfile.ins scrwfile.tex scrwfile.drv \ tocbasic.ins tocbasic.tex \ - tocstyle.ins tocstyle.tex tocstyle.dvi tocstyle.drv + tocstyle.ins tocstyle.tex tocstyle.dvi tocstyle.drv \ + scrlayer.tex scrlayer-scrpage.tex scrlayer-notecolumn.tex -MISC_SRC = $(INS_TEMPLATES) $(MAKE_FILES) \ +MISC_SRC = $(MAKE_FILES) \ scrdoc.dtx ChangeLog ChangeLog.2 DIST_SRC = $(MISC_SRC) $(CLS_SRC) @@ -237,22 +235,29 @@ MAINTAIN_FILES = $(MAINTAIN_SRC) # ---------------------------------------------------------------------- # ---------------------------------------------------------------------- -# additional ruls +# additional rules tdsdist:dist # extract dist and make all $(UNTARGZ) $(DISTDIR).tar.gz chmod -R a+w $(DISTDIR) ifdef PREPARERELEASE - $(foreach dtxins,$(DTX_IS_INS),\ - sed -i -e 's/{trace,/{/g;s/\(\\let\\ifbeta=\\if\)true/\1false/;s/\(\\expandafter\\let\\expandafter\\ifbeta\\csname if\)true/\1false/' $(DISTDIR)/$(dtxins) && ) : developer/scripts/preparerelease.sh 2 $(notdir $(DISTDIR)) endif $(CD) $(notdir $(DISTDIR)) && \ $(MAKE) +ifdef PREPARERELEASE + $(MKDIR) $(notdir $(DISTDIR))/README.in + $(INSTALL) README.in/README.*.sty README.in/README.*.cls $(notdir $(DISTDIR))/README.in + developer/scripts/preparerelease.sh 3 $(notdir $(DISTDIR)) + $(RMDIR) $(notdir $(DISTDIR))/README.in +endif # install to temporary directory $(MKDIR) $(notdir $(DISTDIR))-bin/komascript-texmf $(CD) $(notdir $(DISTDIR)) && \ $(MAKE) INSTALLTEXMF=$(PWD)/$(notdir $(DISTDIR))-bin/komascript-texmf install +ifdef PREPARERELEASE + developer/scripts/preparerelease.sh final $(notdir $(DISTDIR)) +endif $(RMDIR) $(notdir $(DISTDIR)) $(SRM) $(notdir $(DISTDIR))-bin/komascript-texmf/ls-R # build the tds.zip @@ -276,7 +281,7 @@ bindist:tdsdist $(INSTALL) $(notdir $(DISTDIR))-bin/komascript-texmf/doc/latex/koma-script/*.txt $(notdir $(DISTDIR))-bin $(INSTALL) $(notdir $(DISTDIR))-bin/komascript-texmf/doc/latex/koma-script/README $(notdir $(DISTDIR))-bin $(INSTALL) $(notdir $(DISTDIR))-bin/komascript-texmf/doc/latex/koma-script/koma*.html $(notdir $(DISTDIR))-bin - $(GREP) 'CheckKOMAScriptVersion{' $(notdir $(DISTDIR))-bin/komascript-texmf/source/latex/koma-script/scrkvers.dtx | grep -o '2.*t' > $(notdir $(DISTDIR))-bin/VERSION + $(GREP) 'CheckKOMAScriptVersion{' $(notdir $(DISTDIR))-bin/komascript-texmf/source/latex/koma-script/scrkernel-version.dtx | grep -o '2.*t' > $(notdir $(DISTDIR))-bin/VERSION # build the bin.zip $(RMDIR) $(notdir $(DISTDIR))-bin/komascript-texmf $(SRM) $(notdir $(DISTDIR))-bin.zip @@ -302,7 +307,7 @@ ctandist:tdsdist $(notdir $(DISTDIR))-ctan/texmf/doc/latex/koma-script/README \ $(notdir $(DISTDIR))-ctan/texmf/source/latex/koma-script/ # generate VERSION at main source - $(GREP) 'CheckKOMAScriptVersion{' $(notdir $(DISTDIR))-ctan/texmf/source/latex/koma-script/scrkvers.dtx | grep -o '2.*t' \ + $(GREP) 'CheckKOMAScriptVersion{' $(notdir $(DISTDIR))-ctan/texmf/source/latex/koma-script/scrkernel-version.dtx | grep -o '2.*t' \ > $(notdir $(DISTDIR))-ctan/texmf/source/latex/koma-script/VERSION # generate README.distributors at upmost $(HEAD) 18 $(notdir $(DISTDIR))-ctan/texmf/source/latex/koma-script/README > $(notdir $(DISTDIR))-ctan/README.distributors |