Browse Subversion Repository
Contents of /weekley/body/Makefile
Parent Directory
| Revision Log
Revision 95 -
( show annotations)
( download)
Sun Feb 10 03:33:49 2013 UTC
(11 years, 1 month ago)
by ohkubo-k
File size: 1334 byte(s)
130210 release
| 1 |
include ../../makefile.defs |
| 2 |
|
| 3 |
HEADSRC = ../../../WeekleyText/0/head.html |
| 4 |
HEADOUT = $(OUT_DIR)/weekley-head.html |
| 5 |
|
| 6 |
SOURCE = ../../../WeekleyText/output/weekley-body.xml |
| 7 |
XSLFILE = weekley2html.xsl |
| 8 |
OUTTMP = $(OUT_DIR)/weekley-body.utf8 |
| 9 |
OUTPUT = $(OUT_DIR)/weekley-body.html |
| 10 |
REFTMP = $(OUT_DIR)/weekley-refs.utf8 |
| 11 |
REFOUT = $(OUT_DIR)/weekley-refs.html |
| 12 |
|
| 13 |
all: $(HEADOUT) $(OUTPUT) $(REFOUT) |
| 14 |
|
| 15 |
$(HEADOUT): $(HEADSRC) |
| 16 |
cat $(HEADSRC) \ |
| 17 |
| $(JAVA) clsepw.weekley.AppendHeadId \ |
| 18 |
| $(JAVA) clsepw.util.LatinExtConverter - check ../../ebwin/GaijiMap.xml \ |
| 19 |
| sed -f $(MISC_DIR)/SP.sed \ |
| 20 |
| nkf -s \ |
| 21 |
> $@ |
| 22 |
|
| 23 |
$(OUTTMP): $(SOURCE) |
| 24 |
cat $(SOURCE) \ |
| 25 |
| $(JAVA) clsepw.util.XalanTransformer $(XSLFILE) \ |
| 26 |
| sed -f conv.sed \ |
| 27 |
| sed -f joint.sed \ |
| 28 |
| sed -f joint2.sed \ |
| 29 |
| perl -ple "s/<dt><\/dt><dd><p><dfn>(.+?)<\/dfn>/<dt>\1<\/dt><dd><p>/g" \ |
| 30 |
> $@ |
| 31 |
|
| 32 |
$(REFTMP): $(OUTTMP) |
| 33 |
cat $(OUTTMP) \ |
| 34 |
| $(JAVA) clsepw.weekley.MakeRefFile \ |
| 35 |
> $@ |
| 36 |
|
| 37 |
$(OUTPUT): $(OUTTMP) $(HEADOUT) $(REFTMP) |
| 38 |
cat $(OUTTMP) \ |
| 39 |
| $(JAVA) clsepw.weekley.AppendRefKey $(HEADOUT) $(REFTMP) \ |
| 40 |
| $(JAVA) clsepw.util.LatinExtConverter - check ../../ebwin/GaijiMap.xml \ |
| 41 |
| sed -f conv2.sed \ |
| 42 |
| nkf -s \ |
| 43 |
> $@ |
| 44 |
|
| 45 |
$(REFOUT): $(REFTMP) |
| 46 |
$(JAVA) clsepw.util.LatinExtConverter $(REFTMP) \ |
| 47 |
| nkf -s \ |
| 48 |
> $@ |
| 49 |
|
| 50 |
clean: |
| 51 |
rm -rf $(HEADOUT) $(OUTTMP) $(OUTPUT) $(REFTMP) $(REFOUT) |
|