draining just to be sure for CTAN distribution

This commit is contained in:
Michael Kohlhase 2015-11-20 11:52:06 +01:00
parent 3a3e96aecd
commit b379947edc
3 changed files with 23 additions and 9 deletions

View File

@ -1,13 +1,32 @@
SRCDIRS =
DOCDIRS = eu/examples dfg/examples
DTXDIRS = base dfg eu
########################################################################
# This Makefile automates maintenance and CTAN submission of complex
# LaTeX packages.
########################################################################
MAKEDIRS = $(DTXDIRS)
TDSCOLL ?= $(shell basename $$PWD)
DISTDIRS = $(DTXDIRS)
# targets for repository maintenance
all clean distclean:
@for d in $(MAKEDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
package doc:
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
package doc filedate checksum enablechecksum disablechecksum:
########################################################################
# CTAN submission
########################################################################
# Directories that should be copied into top-level directories
# - source (the *.dtx and *.ins files),
# - doc (package/class documentation), and
# - tex (*.sty and *.cls, etc that LaTeX reads)
# of the CTAN and TDS submissions
SRCDIRS =
DOCDIRS = #eu/examples dfg/examples
DTXDIRS = base dfg eu
# targets for CTAN.
filedate checksum enablechecksum disablechecksum:
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
GITURI = git@github.com:KWARC/LaTeX-proposal.git

View File

@ -63,13 +63,9 @@ tdsext:
@echo " enabling checksums"
# $(MAKE) -$(MAKEFLAGS) enablechecksum *******
@echo " copying over stuff to $(TDSDIR)"
@echo " ... from $(DTXDIRS)"
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) ltds) done
@echo " ... and $(SRCDIRS)"
@for d in $(SRCDIRS); do (cp -R $$d $(TDSDIR)/source/latex/$(TDSCOLL)) done;
@echo " ... and $(DOCDIRS)"
@for d in $(DOCDIRS); do (cp -R $$d $(TDSDIR)/doc/latex/$(TDSCOLL)) done;
@echo " ... and finally $(TDS.doc)"
cp $(TDS.doc) $(TDSDIR)/doc/latex/$(TDSCOLL)
@echo "zipping the result to $(TDSCOLL).tds.zip"
cd $(TDSDIR); zip -r -q $(TDSZIP) .; cd -

View File

@ -1,7 +1,6 @@
all: package doc
package: $(DTX.sty) $(DTX.cls)
doc: $(DTX.pdf) $(EXAMPLE.pdf)
$(EXAMPLE.pdf): %.pdf: %.tex $(DTX.sty) $(DTX.cls) $(IMG) $(EXAMPLE.deps)