2015-11-20 11:52:06 +01:00
|
|
|
########################################################################
|
|
|
|
# This Makefile automates maintenance and CTAN submission of complex
|
|
|
|
# LaTeX packages.
|
|
|
|
########################################################################
|
|
|
|
|
2014-02-15 12:01:14 +01:00
|
|
|
MAKEDIRS = $(DTXDIRS)
|
|
|
|
TDSCOLL ?= $(shell basename $$PWD)
|
|
|
|
DISTDIRS = $(DTXDIRS)
|
2016-04-15 12:23:30 +02:00
|
|
|
TDS.README = README.ctan
|
2015-11-20 11:52:06 +01:00
|
|
|
|
|
|
|
# targets for repository maintenance
|
2014-02-15 12:01:14 +01:00
|
|
|
all clean distclean:
|
|
|
|
@for d in $(MAKEDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
|
2015-11-20 11:52:06 +01:00
|
|
|
package doc:
|
|
|
|
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# 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
|
2016-04-15 12:37:05 +02:00
|
|
|
SRCDIRS = bin lib
|
2015-11-22 09:20:53 +01:00
|
|
|
DOCDIRS = #eu/examples/strep dfg/examples/proposal
|
2015-11-20 11:52:06 +01:00
|
|
|
DTXDIRS = base dfg eu
|
2014-02-15 12:01:14 +01:00
|
|
|
|
2015-11-20 11:52:06 +01:00
|
|
|
# targets for CTAN.
|
2016-04-15 12:37:05 +02:00
|
|
|
pfiledate checksum filedate enablechecksum disablechecksum:
|
2014-02-15 12:01:14 +01:00
|
|
|
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
|
|
|
|
|
2015-01-15 14:30:31 +01:00
|
|
|
GITURI = git@github.com:KWARC/LaTeX-proposal.git
|
2014-02-15 12:01:14 +01:00
|
|
|
TDS.src =
|
2016-02-13 11:27:50 +01:00
|
|
|
TDS.src =
|
|
|
|
TDS.readme = README.ctan
|
2014-02-15 12:01:14 +01:00
|
|
|
include lib/Makefile.ctan
|