aboutsummaryrefslogtreecommitdiffstats
path: root/croatian/Makefile
diff options
context:
space:
mode:
authorJosip Rodin <joy>2001-05-21 22:07:36 +0000
committerJosip Rodin <joy>2001-05-21 22:07:36 +0000
commit19374294bdaa3a3cba4227d6938b695a7deb317e (patch)
tree346d1116fd80ddcae502f1a42f1b027407b2f699 /croatian/Makefile
parent9463749ee2c8a05b86176e92c79d8caff4cb2cf0 (diff)
this makes an almost perfect sitemap in the different language
CVS version numbers croatian/Makefile: 1.25 -> 1.26
Diffstat (limited to 'croatian/Makefile')
-rw-r--r--croatian/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/croatian/Makefile b/croatian/Makefile
index e3889a27dd9..3606c3c483e 100644
--- a/croatian/Makefile
+++ b/croatian/Makefile
@@ -6,7 +6,7 @@ WMLBASE=.
CUR_DIR=
SUBS=Bugs MailingLists News Pics consultants devel distrib doc events intro \
international logos mirror misc partners ports releases security vote y2k \
-chinese searchtmpl
+chinese searchtmpl banners
include $(WMLBASE)/Make.lang
@@ -19,6 +19,14 @@ index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
$(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
$(ENGLISHSRCDIR)/releases/info
$(WML) index.wml
+ifneq "$(LANGUAGE)" "en"
+ $(shell echo $(WML) | sed s/index/sitemap/) \
+ $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
+ $(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
+endif
install::
test -L $(HTMLDIR)/intl || ln -sf international $(HTMLDIR)/intl
+ifneq "$(LANGUAGE)" "en"
+ -install -m 664 -p sitemap.$(LANGUAGE).html $(HTMLDIR)
+endif

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