aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/Make.lang
diff options
context:
space:
mode:
authorJosip Rodin <joy>2000-08-17 17:10:22 +0000
committerJosip Rodin <joy>2000-08-17 17:10:22 +0000
commit6ee74b6be21c0ec058d7247ca250e43546c8cec8 (patch)
treec41644e5ac735b7e470e3c41a0923120f6f4e030 /japanese/Make.lang
parent34f17d8f6fd6c91798d5852d2d4917c3fe501731 (diff)
updated to the new Makefile.common scheme
CVS version numbers japanese/Make.common: 1.10 -> 1.11 japanese/Make.dep.generic: 1.4 -> 1.5 japanese/Make.dep.templ: 1.1 -> 1.2 japanese/Make.lang: 1.10 -> 1.11
Diffstat (limited to 'japanese/Make.lang')
-rw-r--r--japanese/Make.lang33
1 files changed, 13 insertions, 20 deletions
diff --git a/japanese/Make.lang b/japanese/Make.lang
index 0dd86aa0bea..e6004a9c5b8 100644
--- a/japanese/Make.lang
+++ b/japanese/Make.lang
@@ -1,21 +1,14 @@
-# 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 two-letter code for the language
+LANGUAGE := ja
-# The '-q' forces wml to be quiet. Very useful in scripts.
-# It is sometimes useful to add '--epilog=weblint' to check for errors
-# in the html generated.
-# 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> > $(@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 -D CUR_YEAR=$(shell date +%Y)
-WMLOUTFILE=$(@F).tmp
-WMLPROLOG=--prolog="/usr/bin/kcc -e -"
-WMLEPILOG=--epilog="$(WMLBASE)/convert $(@F)"
-WML=wml $(WMLOPTIONS) -o UNDEFu$(LANGUAGECAP):$(WMLOUTFILE) $(WMLPROLOG) $(WMLEPILOG)
-# WML=wml $(WMLOPTIONS) $(WMLPROLOG) $(WMLEPILOG)
+include $(WMLBASE)/../Makefile.common
+
+# If you need to modify that is already defined in ../Makefile.common
+# you can put it below
+
+WMLOUTFILE = $(@F).tmp
+WMLPROLOG = --prolog="/usr/bin/kcc -e -"
+WMLEPILOG = --epilog="$(WMLBASE)/convert $(@F)"
+
+clean::
+ rm -f *.$(LANGUAGE).html.tmp

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