/[webwml]/webwml/croatian/Makefile
ViewVC logotype

Diff of /webwml/croatian/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by treacy, Tue May 18 16:28:52 1999 UTC revision 1.38 by joy, Mon Feb 4 14:16:35 2002 UTC
# Line 4  Line 4 
4    
5  WMLBASE=.  WMLBASE=.
6  CUR_DIR=  CUR_DIR=
7  # list any subdirectories in the following variable. Any directories listed  SUBS=Bugs CD MailingLists News Pics banners chinese consultants devel \
8  # must exist or the make will not work  distrib doc events intro international legal logos mirror misc partners \
9  SUBS=Bugs MailingLists News Pics consultants devel distrib doc events intro \  ports releases searchtmpl security vote y2k
10  logos mirror partners ports releases security y2k  
11    ifneq "$(wildcard om_svenska/Makefile)" ""
12    SUBS += om_svenska
13    endif
14    
15  include $(WMLBASE)/Make.lang  include $(WMLBASE)/Make.lang
 include $(WMLBASE)/Make.common  
16    
17  include $(WMLBASE)/Make.dep.generic  ifndef SUBLANG
18  include $(WMLBASE)/Make.dep.templ  SITEMAP = sitemap.$(LANGUAGE).html
19    DESTSITEMAP = $(HTMLDIR)/$(SITEMAP)
20    else
21    SITEMAP = $(sort $(foreach i,$(SUBLANG),\
22            $(patsubst %.wml,%.$(LANGUAGE)-$(i).html,sitemap.wml)))
23    DESTSITEMAP = $(patsubst %.html,$(HTMLDIR)/%.html,$(SITEMAP))
24    endif
25    
 # Do Not modify the following line  
26  index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \  index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
27                  $(wildcard News/1999/1999*.wml) $(wildcard $(ENGLISHSRCDIR)/News/1999/1999*.wml) \                  $(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \
28                  $(wildcard security/1999/1999*.wml) $(wildcard $(ENGLISHSRCDIR)/security/1999/1999*.wml) \                  $(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                  $(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
30                    $(ENGLISHSRCDIR)/releases/info
31          $(WML) index.wml          $(WML) index.wml
32    
33    $(SITEMAP): $(ENGLISHDIR)/sitemap.wml $(TEMPLDIR)/card.wml \
34      $(TEMPLDIR)/links.tags.wml $(TEMPLDIR)/template.wml \
35      $(ENGLISHDIR)/releases/info $(ENGLISHDIR)/MailingLists/mklist.tags
36    ifeq "$(LANGUAGE)" "zh"
37            $(subst :.zh,:sitemap.zh,$(WML)) \
38              $(shell egrep '^-D (CUR_|CHAR)' .wmlrc) \
39                $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml
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            $(WML) $(shell egrep '^-D (CUR_|CHAR)' .wmlrc) \
52              $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml
53    endif
54    
55    all:: $(SITEMAP)
56    
57    install:: $(DESTSITEMAP)
58    ifeq "$(LANGUAGE)" "en"
59            test -L $(HTMLDIR)/intl || ln -sf international $(HTMLDIR)/intl
60            test -L $(HTMLDIR)/mirrors || ln -sf mirror $(HTMLDIR)/mirrors
61    
62    install:: $(HTMLDIR)/favicon.ico
63    
64    $(HTMLDIR)/favicon.ico: favicon.ico
65            install -p -m 664 favicon.ico $(HTMLDIR)
66    endif

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.5