summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source/Makefile')
-rw-r--r--macros/latex/contrib/koma-script/source/Makefile29
1 files changed, 21 insertions, 8 deletions
diff --git a/macros/latex/contrib/koma-script/source/Makefile b/macros/latex/contrib/koma-script/source/Makefile
index 37475eab30..5c5ae90b84 100644
--- a/macros/latex/contrib/koma-script/source/Makefile
+++ b/macros/latex/contrib/koma-script/source/Makefile
@@ -35,6 +35,8 @@
# Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien.
# ======================================================================
+NOCHANGELOG = 1 # We do not longer make or package the ChangeLog
+
# ----------------------------------------------------------------------
# All directories with Makefiles
export BASEDIR ?= $(PWD)/
@@ -136,8 +138,8 @@ CLS_MAIN = scrbook.cls \
scrlayer.sty \
scrlayer-scrpage.sty \
scrlayer-notecolumn.sty \
- scrlayer-fancyhdr.sty \
- komamarks.sty
+ scrlayer-fancyhdr.sty
+# komamarks.sty
CLS_MAIN_DTX = scrkernel-basics.dtx \
scrkernel-bibliography.dtx \
@@ -177,8 +179,8 @@ CLS_MAIN_DTX = scrkernel-basics.dtx \
scrlayer.dtx \
scrlayer-scrpage.dtx \
scrlayer-notecolumn.dtx \
- scrlayer-fancyhdr.dtx \
- komamarks.dtx
+ scrlayer-fancyhdr.dtx
+# komamarks.dtx
STATIC_DOC = README \
INSTALL.txt \
@@ -194,9 +196,11 @@ CLS_MAIN_INS = scrmain.ins
CLS_MAIN_SUBINS = scrstrip.inc scrstrop.inc scrdocstrip.tex
-ALPHA_INS = tocstyle.dtx scrlayer-fancyhdr.dtx komamarks.dtx
+ALPHA_INS = tocstyle.dtx scrlayer-fancyhdr.dtx
+# komamarks.dtx
-ALPHA_DOC = tocstyle.pdf scrlayer-fancyhdr.pdf komamarks.pdf
+ALPHA_DOC = tocstyle.pdf scrlayer-fancyhdr.pdf
+# komamarks.pdf
ALPHA_DTX = $(subst .pdf,.dtx,$(ALPHA_DOC))
@@ -229,14 +233,19 @@ CLS_SRC = $(CLS_MAIN_SRC)
NODIST_GENERATED = $(CLS_DVIS) $(CLS_FILES) $(ALPHA_DOC)
-GENERATED = $(NODIST_GENERATED) ChangeLog \
+GENERATED = $(NODIST_GENERATED) \
scrjura.ins \
scrwfile.ins \
tocbasic.ins \
tocstyle.ins tocstyle.tex tocstyle.drv
MISC_SRC = $(MAKE_FILES) \
- scrdoc.dtx ChangeLog ChangeLog.2
+ scrdoc.dtx
+
+ifndef NOCHANGELOG
+GENERATED += ChangeLog
+MISC_SRC += ChangeLog ChangeLog.2
+endif
DIST_SRC = $(MISC_SRC) $(CLS_SRC)
@@ -289,7 +298,9 @@ bindist:tdsdist
$(UNZIP) ../../komascript.tds.zip
# copy some of the files to primary folder
$(MV) komascript.tds.zip $(notdir $(DISTDIR))-bin/
+ifndef NOCHANGELOG
$(INSTALL) $(notdir $(DISTDIR))-bin/komascript-texmf/source/latex/koma-script/ChangeLog $(notdir $(DISTDIR))-bin
+endif
$(INSTALL) $(notdir $(DISTDIR))-bin/komascript-texmf/doc/latex/koma-script/scrgui* $(notdir $(DISTDIR))-bin
$(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
@@ -424,7 +435,9 @@ maintainclean_local: clean_local
dist_prior:
ifdef PREPARERELEASE
+ifndef NOCHANGELOG
developer/scripts/preparerelease.sh 1
+endif
$(MAKE) prepare
endif
-$(RMDIR) $(DISTDIR)