Commit 1e47c383 authored by Martin Schulze's avatar Martin Schulze

Copied and adjusted the Makefile template from the french directory.

Very good, this technique makes Makefile syncing very easy.
Good work folks!

CVS version numbers

catalan/security/Makefile: 1.1 -> 1.2 
chinese/security/Makefile: 1.6 -> 1.7 
croatian/security/Makefile: 1.12 -> 1.13 
danish/security/Makefile: 1.4 -> 1.5 
dutch/security/Makefile: 1.5 -> 1.6 
finnish/security/Makefile: 1.9 -> 1.10 
hungarian/security/Makefile: 1.6 -> 1.7 
italian/security/Makefile: 1.14 -> 1.15 
japanese/security/Makefile: 1.11 -> 1.12 
korean/security/Makefile: 1.9 -> 1.10 
norwegian/security/Makefile: 1.10 -> 1.11 
polish/security/Makefile: 1.3 -> 1.4 
portuguese/security/Makefile: 1.3 -> 1.4 
romanian/security/Makefile: 1.13 -> 1.14 
russian/security/Makefile: 1.6 -> 1.7 
spanish/security/Makefile: 1.11 -> 1.12 
swedish/security/Makefile: 1.13 -> 1.14 
turkish/security/Makefile: 1.3 -> 1.4
parent 2c23eba9
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/catalan,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/chinese,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/croatian,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt $(HTMLDIR)/dsa-rdf.css
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
$(HTMLDIR)/dsa-rdf.css: $(HTMLDIR)/%: %
install -m 644 -p $< $(HTMLDIR)
endif
include $(subst webwml/danish,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/dutch,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/finnish,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/hungarian,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/italian,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/japanese,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
endif
include $(subst webwml/korean,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf
DESTDSARDF := $(HTMLDIR)/$(DSARDF)
else
DSARDF := $(sort $(foreach i,$(SUBLANG),$(subst dsa,dsa.$(LANGUAGE)-$(i),dsa.rdf)))
DESTDSARDF := $(patsubst %.rdf,$(HTMLDIR)/%.rdf,$(DSARDF))
endif
$(DSARDF): $(ENGLISHDIR)/security/dsa.rdf.in \
$(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/recent_list.wml
ifeq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:dsa.zh-$$1.rdf,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < dsa.zh-cn.rdf.tmp > dsa.zh-cn.rdf
@rm -f dsa.zh-cn.rdf.tmp
@$(TOCN) dsa.zh-cn.rdf
@echo -n "[zh_HK.Big5], "
@mv -f dsa.zh-hk.rdf.tmp dsa.zh-hk.rdf
@$(TOHK) dsa.zh-hk.rdf
@echo "[zh_TW.Big5]."
@mv -f dsa.zh-tw.rdf.tmp dsa.zh-tw.rdf
@$(TOTW) dsa.zh-tw.rdf
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHDIR)/security/dsa.rdf.in
endif
all:: $(DSARDF)
install:: $(DESTDSARDF)
$(DESTDSARDF): $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
ln -sf dsa.en.rdf $(HTMLDIR)/dsa.rdf
endif
ifeq "$(LANGUAGE)" "en"
install:: $(HTMLDIR)/keys.txt $(HTMLDIR)/dsa-rdf.css
$(HTMLDIR)/keys.txt: $(HTMLDIR)/%: %
install -m 664 -p $< $(HTMLDIR)
$(HTMLDIR)/dsa-rdf.css: $(HTMLDIR)/%: %
install -m 644 -p $< $(HTMLDIR)
endif
include $(subst webwml/norwegian,webwml/english,$(CURDIR))/Makefile
# This Makefile should need no changes from webwml/english/security/Makefile
# Please send a message to debian-www if you need to modify anything, so the
# problem can be fixed.
WMLBASE=..
CUR_DIR=security
SUBS=undated $(wildcard [12][0-9][0-9][0-9])
include $(WMLBASE)/Make.lang
index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.wml) \
$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-*.data) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
ifndef SUBLANG
DSARDF := dsa.$(LANGUAGE).rdf