forked from KWARC/LaTeX-proposal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (36 loc) · 1.42 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
########################################################################
# This Makefile automates maintenance and CTAN submission of complex
# LaTeX packages.
########################################################################
MAKEDIRS = $(DTXDIRS)
TDSCOLL ?= $(shell basename $$PWD)
DISTDIRS = $(DTXDIRS)
TDS.README = README.ctan
# 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
########################################################################
# CTAN submission
########################################################################
#
# For CTAN submission just run "make ctan".
# This creates the file proposal.ctan.zip which can then be submitted to
# http://ctan.org/upload directly.
#
# 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 = bin lib
DOCDIRS = #eu/examples/strep dfg/examples/proposal
DTXDIRS = base dfg eu
# targets for CTAN.
filedate checksum enablechecksum disablechecksum:
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
GITURI = [email protected]:KWARC/LaTeX-proposal.git
TDS.src =
TDS.readme = README.ctan
include lib/Makefile.ctan