summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2018-06-16 04:54:51 +0000
committerNorbert Preining <preining@logic.at>2018-06-16 04:54:51 +0000
commit38d5ec4e6a6998c83716db4ae2a16d2e894295ea (patch)
tree39c63ea3ef825ef647336e096e7ef2a29ae28322 /Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
parent6420c23ca4305a57f4e5b116024d64fee84a9428 (diff)
ketcindy 20160616.0
git-svn-id: svn://tug.org/texlive/trunk@48029 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile')
-rw-r--r--Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile32
1 files changed, 17 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile b/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
index 724f10086c9..2185d1bf1f9 100644
--- a/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
+++ b/Master/texmf-dist/doc/support/ketcindy/source/cdy-templates/Makefile
@@ -2,21 +2,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
+$(WORK)/template1basic.cdy: $(WORK)/Scriptkelib.txt
+ rm -rf tmp
+ mkdir tmp
+ cd tmp && unzip $(WORK)/template1basic.cdy
+ cp $(WORK)/Scriptkelib.txt tmp/private/de.cinderella/scripts/Init/0/KETlib.cs
+ rm $(WORK)/template1basic.cdy
+ cd tmp && zip -r $(WORK)/template1basic.cdy *
+ rm -rf tmp
+
+$(WORK)/template2advanced.cdy: $(WORK)/Scriptkelib.txt
+ rm -rf tmp
+ mkdir tmp
+ cd tmp && unzip $(WORK)/template2advanced.cdy
+ cp $(WORK)/Scriptkelib.txt tmp/private/de.cinderella/scripts/Init/0/KETlib.cs
+ rm $(WORK)/template2advanced.cdy
+ cd tmp && zip -r $(WORK)/template2advanced.cdy *
+ rm -rf tmp
.PHONY: all