diff options
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/Makefile | 32 |
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 |