LaTeX-proposal/Makefile

40 lines
1.3 KiB
Makefile
Raw Normal View History

########################################################################
# 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)
# 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
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
SRCDIRS =
DOCDIRS = #eu/examples dfg/examples
DTXDIRS = base dfg eu
2014-02-15 12:01:14 +01:00
# targets for CTAN.
filedate checksum enablechecksum disablechecksum:
2014-02-15 12:01:14 +01:00
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
GITURI = git@github.com:KWARC/LaTeX-proposal.git
2014-02-15 12:01:14 +01:00
TDS.src =
TDS.doc = README.md
2014-02-15 12:01:14 +01:00
TDS.src =
include lib/Makefile.ctan
echo:
echo $(DISTDIRS)