| 1 |
turkish |
1.1 |
# This Makefile should need no changes from webwml/english/Makefile
|
| 2 |
|
|
# Please send a message to debian-www if you need to modify anything
|
| 3 |
|
|
# so the problem can be fixed.
|
| 4 |
|
|
|
| 5 |
|
|
WMLBASE=.
|
| 6 |
|
|
CUR_DIR=
|
| 7 |
joy |
1.10 |
SUBS=Bugs MailingLists News Pics banners chinese consultants devel distrib \
|
| 8 |
|
|
doc events intro international logos mirror misc partners ports releases \
|
| 9 |
|
|
searchtmpl security vote y2k
|
| 10 |
turkish |
1.1 |
|
| 11 |
joy |
1.11 |
ifneq "$(wildcard om_svenska/Makefile)" ""
|
| 12 |
|
|
SUBS += om_svenska
|
| 13 |
|
|
endif
|
| 14 |
|
|
|
| 15 |
turkish |
1.1 |
include $(WMLBASE)/Make.lang
|
| 16 |
|
|
|
| 17 |
|
|
|
| 18 |
joy |
1.11 |
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
|
| 19 |
|
|
$(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \
|
| 20 |
|
|
$(wildcard security/$(CUR_YEAR)/dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
|
| 21 |
|
|
$(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
|
| 22 |
|
|
$(ENGLISHSRCDIR)/releases/info
|
| 23 |
|
|
$(WML) index.wml
|
| 24 |
|
|
|
| 25 |
|
|
sitemap.$(LANGUAGE).html: $(ENGLISHDIR)/sitemap.wml \
|
| 26 |
|
|
$(TEMPLDIR)/links.tags.wml $(TEMPLDIR)/template.wml \
|
| 27 |
finnish |
1.12 |
$(ENGLISHDIR)/releases/info $(ENGLISHDIR)/MailingLists/mklist.tags
|
| 28 |
joy |
1.11 |
ifeq "$(LANGUAGE)" "zh"
|
| 29 |
|
|
$(shell echo $(WML) | sed s/:.zh/:sitemap.zh/g) \
|
| 30 |
|
|
$(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
|
| 31 |
|
|
$(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
|
| 32 |
|
|
@echo -n " * Converting: [zh_CN.GB2312], "
|
| 33 |
|
|
@$(B5TOGB) < sitemap.zh-cn.html.tmp > sitemap.zh-cn.html
|
| 34 |
|
|
@rm -f sitemap.zh-cn.html.tmp
|
| 35 |
|
|
@$(TOCN) sitemap.zh-cn.html
|
| 36 |
|
|
@echo -n "[zh_HK.Big5], "
|
| 37 |
|
|
@mv -f sitemap.zh-hk.html.tmp sitemap.zh-hk.html
|
| 38 |
|
|
@$(TOHK) sitemap.zh-hk.html
|
| 39 |
|
|
@echo "[zh_TW.Big5]."
|
| 40 |
|
|
@mv -f sitemap.zh-tw.html.tmp sitemap.zh-tw.html
|
| 41 |
|
|
@$(TOTW) sitemap.zh-tw.html
|
| 42 |
|
|
else
|
| 43 |
|
|
ifeq "$(LANGUAGE)" "ja"
|
| 44 |
|
|
wml -q -D CUR_YEAR=2001 -o UNDEFuJA:sitemap.ja.html.tmp@g+w \
|
| 45 |
|
|
--prolog="/usr/bin/kcc -e -" --epilog="./convert sitemap.ja.html" \
|
| 46 |
|
|
../english/sitemap.wml \
|
| 47 |
|
|
-D CUR_LANG=Japanese -D CUR_ISO_LANG=ja -D CHARSET=iso-2022-jp
|
| 48 |
|
|
else
|
| 49 |
joy |
1.10 |
$(shell echo $(WML) | sed s/index/sitemap/) \
|
| 50 |
|
|
$(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
|
| 51 |
|
|
$(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
|
| 52 |
|
|
endif
|
| 53 |
joy |
1.11 |
endif
|
| 54 |
joy |
1.10 |
|
| 55 |
joey |
1.15 |
all:: sitemap.$(LANGUAGE).html
|
| 56 |
turkish |
1.1 |
|
| 57 |
finnish |
1.13 |
install:: $(HTMLDIR)/sitemap.$(LANGUAGE).html
|
| 58 |
joy |
1.7 |
test -L $(HTMLDIR)/intl || ln -sf international $(HTMLDIR)/intl
|
| 59 |
joy |
1.10 |
ifneq "$(LANGUAGE)" "en"
|
| 60 |
joy |
1.11 |
-install -m 664 -p sitemap.$(LANGUAGE)*.html $(HTMLDIR)
|
| 61 |
joy |
1.10 |
endif
|