aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/Make.lang
diff options
context:
space:
mode:
authorJapanese Language Team <japanese>1998-11-23 10:42:09 +0000
committerJapanese Language Team <japanese>1998-11-23 10:42:09 +0000
commitd9ba827a4e4c7c9c1a3114ad6df4b48c49ad9bda (patch)
tree91928087cfa017c49d5d41c55084efec902bd3d2 /japanese/Make.lang
parent46232b20e0b9b313d8fbcc6640c9f1e005e93fc4 (diff)
Adapted for new Makefile structure.
CVS version numbers japanese/Make.lang: 1.4 -> 1.5 japanese/Makefile: 1.11 -> 1.12 japanese/contact.wml: 1.2 -> 1.3 japanese/social_contract.wml: 1.7 -> 1.8 japanese/News/Makefile: 1.3 -> 1.4 japanese/News/index.wml: 1.4 -> 1.5 japanese/News/1998/19981016.wml: 1.1 -> 1.2 japanese/News/1998/Makefile: 1.2 -> 1.3 japanese/devel/Makefile: 1.1 -> 1.2 japanese/distrib/Makefile: 1.2 -> 1.3 japanese/distrib/index.wml: 1.4 -> 1.5 japanese/intro/Makefile: 1.1 -> 1.2 japanese/intro/about.wml: 1.5 -> 1.6
Diffstat (limited to 'japanese/Make.lang')
-rw-r--r--japanese/Make.lang24
1 files changed, 12 insertions, 12 deletions
diff --git a/japanese/Make.lang b/japanese/Make.lang
index b5b367b449a..2d4a7c51f51 100644
--- a/japanese/Make.lang
+++ b/japanese/Make.lang
@@ -1,6 +1,7 @@
-# Only the LANGUAGE variable needs to be changed between the different languages.
-# If you find this is not the case please report it to debian-www.
+# The LANGUAGE variable needs to be set for each language.
+# LANGUAGECAP is just the capitalization of LANGUAGE (this is needed for wml slices)
LANGUAGE=ja
+LANGUAGECAP=JA
# The '-q' forces wml to be quiet. Very useful in scripts.
# It is sometimes useful to add '--epilog=weblint' to check for errors
@@ -8,14 +9,13 @@ LANGUAGE=ja
# Other languages may want to change the wml command to execute programs
# that get run before or after wml. For example,
# WML="wml -q --prolog="/usr/bin/tcs <options here>" \
-# --epilog="/usr/bin/tcs <options here>"
-WML=wml -q --prolog="/usr/bin/kcc -e" \
- --epilog="/usr/bin/kcc -j > $(@D)/$(@F)" \
- -o $(@F)
+# --epilog="/usr/bin/tcs <options here> > $(@D)/$(@F)" \
+# -o $(@F)
+# If you use --epilog as above, then you will want to add a line to
+# Make.templ.inc to remove $(@F) after WML is done.
+WMLOPTIONS=-q
+WMLOUTFILE=$(@F)
+WMLPROLOG=--prolog="/usr/bin/kcc -e"
+WMLEPILOG=--prolog="/usr/bin/kcc -j"
+WML=wml $(WMLOPTIONS) -o $(WMLOUTFILE) $(WMLPROLOG) $(WMLEPILOG)
-# The following was included here simply because it was convenient
-
-WMLFILES := $(wildcard *.wml)
-HTMLFILES := $(patsubst %.wml,$(HTMLDIR)/%.html.$(LANGUAGE),$(WMLFILES))
-JPGSOURCE := $(wildcard *.gif)
-JPGDEST := $(patsubst %.gif,$(HTMLDIR)/%.gif,$(JPGSOURCE))

© 2014-2024 Faster IT GmbH | imprint | privacy policy