| 1 |
|
# Only the LANGUAGE variable needs to be changed between the different languages. |
| 2 |
|
# If you find this is not the case please report it to debian-www. |
| 3 |
LANGUAGE=ja |
LANGUAGE=ja |
| 4 |
|
|
| 5 |
|
# The '-q' forces wml to be quiet. Very useful in scripts. |
| 6 |
|
# It is sometimes useful to add '--epilog=weblint' to check for errors |
| 7 |
|
# in the html generated. |
| 8 |
|
# Other languages may want to change the wml command to execute programs |
| 9 |
|
# that get run before or after wml. For example, |
| 10 |
|
# WML="wml -q --prolog="/usr/bin/tcs <options here>" \ |
| 11 |
|
# --epilog="/usr/bin/tcs <options here>" |
| 12 |
|
WML=wml -q --prolog="/usr/bin/tcs -f jis-kanji -t ujis" \ |
| 13 |
|
--epilog="/usr/bin/tcs -f ujis -t jis-kanji" |
| 14 |
|
|
| 15 |
|
# The following was included here simply because it was convenient |
| 16 |
|
|
| 17 |
|
WMLFILES := $(wildcard *.wml) |
| 18 |
|
HTMLFILES := $(patsubst %.wml,$(HTMLDIR)/%.html.$(LANGUAGE),$(WMLFILES)) |
| 19 |
|
JPGSOURCE := $(wildcard *.gif) |
| 20 |
|
JPGDEST := $(patsubst %.gif,$(HTMLDIR)/%.gif,$(JPGSOURCE)) |