summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
blob: 724f10086c95fa83709457ad320381dc5292870f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WORK := $(abspath ../../../work)

all: $(WORK)/template1basic.cdy $(WORK)/template2advanced.cdy

$(WORK)/template1basic.cdy: template1basic/private/de.cinderella/scripts/Init/0/KETlib.cs
	rm -f template1basic.cdy
	cd template1basic && zip -r $(WORK)/template1basic.cdy *
	rm template1basic/private/de.cinderella/scripts/Init/0/KETlib.cs

$(WORK)/template2advanced.cdy: template2advanced/private/de.cinderella/scripts/Init/0/KETlib.cs
	rm -f template2advanced.cdy
	cd template2advanced && zip -r $(WORK)/template2advanced.cdy *
	rm template2advanced/private/de.cinderella/scripts/Init/0/KETlib.cs

template1basic/private/de.cinderella/scripts/Init/0/KETlib.cs: $(WORK)/Scriptkelib.txt
	cp $(WORK)/Scriptkelib.txt template1basic/private/de.cinderella/scripts/Init/0/KETlib.cs

template2advanced/private/de.cinderella/scripts/Init/0/KETlib.cs: $(WORK)/Scriptkelib.txt
	cp $(WORK)/Scriptkelib.txt template2advanced/private/de.cinderella/scripts/Init/0/KETlib.cs

.PHONY: all