summaryrefslogtreecommitdiff
path: root/macros/generic/memoize/Makefile.collargs
blob: ef18863a4d6f9ddf875a7f6f92099f5987a3105f (plain)
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
# Prepare the CTAN submission.

# This file is indented to be used from Memoize's source directory, which
# should also contain collargs.edtx and collargs.ins.

PACKAGE = collargs
VERSION = 1.2.0
YEAR = 2024
MONTH = 03
DAY = 15

FORMAT = generic

COMMON = collargs
SOURCE = collargs.edtx collargs.ins

README = doc/README.collargs.md
INSTALL = doc/INSTALL.collargs.md
CHANGELOG = doc/CHANGELOG.collargs.md
MAKEFILE = Makefile.runtimes
LICENCE = LICENCE

ctan/$(PACKAGE).zip:
	$(TDS-BEGIN)
	cd $(TDS-SOURCE-DIR) && mv Makefile.runtimes Makefile
	$(TDS-END)
	$(CTAN-BEGIN)
	cd $(CTAN-DIR) && mv Makefile.runtimes Makefile
	$(CTAN-END)

version:
	$(call EDIT-VERSION-LATEX,collargs.edtx,collargs,$(YEAR)/$(MONTH)/$(DAY) v$(VERSION))
	$(call EDIT-VERSION-CONTEXT,collargs.edtx,$(YEAR)-$(MONTH)-$(DAY),$(VERSION))
	$(call EDIT-DATE-CHANGELOG,doc/CHANGELOG.collargs.md)
	$(call EDIT-VERSION-LATEX,doc/memoize-doc.tex,collargs)
	$(call EDIT-VERSION-LATEX,doc/memoize-code.tex,collargs)

include Makefile.package
include Makefile.runtimes