/[webwml]/webwml/turkish/Makefile
ViewVC logotype

Contents of /webwml/turkish/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (hide annotations) (download)
Tue Jan 1 01:29:43 2002 UTC (11 years, 4 months ago) by joy
Branch: MAIN
Changes since 1.17: +11 -8 lines
sync
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.18 SUBS=Bugs CD MailingLists News Pics banners chinese consultants devel \
8     distrib doc events intro international logos mirror misc partners ports \
9     releases 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 joey 1.16 ifndef SUBLANG
18     SITEMAP = sitemap.$(LANGUAGE).html
19     HTMLMAP = $(HTMLDIR)/$(SITEMAP)
20     else
21     SITEMAP = $(sort $(foreach i,$(SUBLANG),\
22     $(patsubst %.wml,%.$(LANGUAGE)-$(i).html,sitemap.wml)))
23     HTMLMAP = $(patsubst %.html,$(HTMLDIR)/%.html,$(SITEMAP))
24     endif
25 turkish 1.1
26 joy 1.11 index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
27     $(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \
28     $(wildcard security/$(CUR_YEAR)/dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
29     $(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
30     $(ENGLISHSRCDIR)/releases/info
31     $(WML) index.wml
32    
33 joey 1.16 $(SITEMAP): $(ENGLISHDIR)/sitemap.wml \
34 joy 1.11 $(TEMPLDIR)/links.tags.wml $(TEMPLDIR)/template.wml \
35 finnish 1.12 $(ENGLISHDIR)/releases/info $(ENGLISHDIR)/MailingLists/mklist.tags
36 joy 1.11 ifeq "$(LANGUAGE)" "zh"
37     $(shell echo $(WML) | sed s/:.zh/:sitemap.zh/g) \
38     $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
39     $(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
40     @echo -n " * Converting: [zh_CN.GB2312], "
41     @$(B5TOGB) < sitemap.zh-cn.html.tmp > sitemap.zh-cn.html
42     @rm -f sitemap.zh-cn.html.tmp
43     @$(TOCN) sitemap.zh-cn.html
44     @echo -n "[zh_HK.Big5], "
45     @mv -f sitemap.zh-hk.html.tmp sitemap.zh-hk.html
46     @$(TOHK) sitemap.zh-hk.html
47     @echo "[zh_TW.Big5]."
48     @mv -f sitemap.zh-tw.html.tmp sitemap.zh-tw.html
49     @$(TOTW) sitemap.zh-tw.html
50     else
51     ifeq "$(LANGUAGE)" "ja"
52     wml -q -D CUR_YEAR=2001 -o UNDEFuJA:sitemap.ja.html.tmp@g+w \
53     --prolog="/usr/bin/kcc -e -" --epilog="./convert sitemap.ja.html" \
54     ../english/sitemap.wml \
55     -D CUR_LANG=Japanese -D CUR_ISO_LANG=ja -D CHARSET=iso-2022-jp
56     else
57 joy 1.10 $(shell echo $(WML) | sed s/index/sitemap/) \
58     $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
59     $(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
60     endif
61 joy 1.11 endif
62 joy 1.10
63 joey 1.16 all:: $(SITEMAP)
64 turkish 1.1
65 joey 1.16 install:: $(HTMLMAP)
66 joy 1.18 ifeq "$(LANGUAGE)" "en"
67 joy 1.7 test -L $(HTMLDIR)/intl || ln -sf international $(HTMLDIR)/intl
68 joy 1.18 test -L $(HTMLDIR)/mirrors || ln -sf mirror $(HTMLDIR)/mirrors
69    
70     install:: $(HTMLDIR)/favicon.ico
71    
72     $(HTMLDIR)/favicon.ico: favicon.ico
73     install -p -m 664 favicon.ico $(HTMLDIR)
74     endif

  ViewVC Help
Powered by ViewVC 1.1.5