aboutsummaryrefslogtreecommitdiffstats
path: root/danish/Makefile
diff options
context:
space:
mode:
authorJosip Rodin <joy>2001-05-23 11:24:47 +0000
committerJosip Rodin <joy>2001-05-23 11:24:47 +0000
commitd27e2699a38bf4ca161c13e66a3019f2c7670fd4 (patch)
tree87f6c9572626b5f62575fc2ad02fae02ee4c4ec5 /danish/Makefile
parentd4e800d2cad25736d656bb133b2b5d2f517d8081 (diff)
copied from English directory
CVS version numbers arabic/Makefile: 1.9 -> 1.10 chinese/Makefile: 1.20 -> 1.21 croatian/Makefile: 1.26 -> 1.27 danish/Makefile: 1.13 -> 1.14 dutch/Makefile: 1.7 -> 1.8 esperanto/Makefile: 1.9 -> 1.10 finnish/Makefile: 1.13 -> 1.14 french/Makefile: 1.25 -> 1.26 german/Makefile: 1.28 -> 1.29 greek/Makefile: 1.4 -> 1.5 hungarian/Makefile: 1.10 -> 1.11 italian/Makefile: 1.33 -> 1.34 japanese/Makefile: 1.28 -> 1.29 korean/Makefile: 1.12 -> 1.13 norwegian/Makefile: 1.10 -> 1.11 polish/Makefile: 1.15 -> 1.16 portuguese/Makefile: 1.13 -> 1.14 romanian/Makefile: 1.13 -> 1.14 russian/Makefile: 1.10 -> 1.11 spanish/Makefile: 1.25 -> 1.26 swedish/Makefile: 1.16 -> 1.17 turkish/Makefile: 1.9 -> 1.10
Diffstat (limited to 'danish/Makefile')
-rw-r--r--danish/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/danish/Makefile b/danish/Makefile
index e3889a27dd9..ab7644c3ab6 100644
--- a/danish/Makefile
+++ b/danish/Makefile
@@ -4,21 +4,29 @@
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
+SUBS=Bugs MailingLists News Pics banners chinese consultants devel distrib \
+doc events intro international logos mirror misc partners ports releases \
+searchtmpl security vote y2k
include $(WMLBASE)/Make.lang
-CUR_YEAR ?= $(shell date +%Y)
-# Do Not modify the following line
+ifneq "$(LANGUAGE)" "en"
+sitemap.$(LANGUAGE).html: $(ENGLISHDIR)/sitemap.wml
+ $(shell echo $(WML) | sed s/index/sitemap/) \
+ $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
+ $(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
+endif
+
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
$(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \
$(wildcard security/$(CUR_YEAR)/dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
$(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
- $(ENGLISHSRCDIR)/releases/info
+ $(ENGLISHSRCDIR)/releases/info sitemap.$(LANGUAGE).html
$(WML) index.wml
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