diff options
author | Kåre Thor Olsen <kaare> | 2012-04-21 01:04:50 +0000 |
---|---|---|
committer | Kåre Thor Olsen <kaare> | 2012-04-21 01:04:50 +0000 |
commit | dbad17847af735ac8b5097167f150ae508de0875 (patch) | |
tree | e700fb636b18618a12cb9d10e73e0e2fd6a3d68d /danish/reports | |
parent | ac15e795f18dac3f2107abb00781c568df915f7f (diff) |
Correcting Makefile with thanks to taffit for spotting the error
CVS version numbers
danish/reports/Makefile: 1.1 -> 1.2
Diffstat (limited to 'danish/reports')
-rw-r--r-- | danish/reports/Makefile | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/danish/reports/Makefile b/danish/reports/Makefile index 78926354513..7e02cbb1a57 100644 --- a/danish/reports/Makefile +++ b/danish/reports/Makefile @@ -1,28 +1 @@ -# If this makefile is not generic enough to support a translation, -# please contact debian-www. - -WMLBASE=.. -CUR_DIR=releases -SUBS=hamm slink potato woody sarge etch lenny squeeze wheezy sid - -include $(WMLBASE)/Make.lang - - -index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/template.wml \ - $(TEMPLDIR)/release_info.wml - -ifeq "$(LANGUAGE)" "en" -# this stuff creates symlinks for releases -tes := $(shell grep "define-tag current_testing_name" $(TEMPLDIR)/release_info.wml | grep -v ^\# | cut -d\< -f2 | cut -d\> -f2) -rel := $(shell grep "define-tag current_release_name" $(TEMPLDIR)/release_info.wml | grep -v ^\# | cut -d\< -f2 | cut -d\> -f2) -old := $(shell grep "define-tag current_oldstable_name" $(TEMPLDIR)/release_info.wml | grep -v ^\# | cut -d\< -f2 | cut -d\> -f2) - -install:: - @[ -d "$(tes)" -a -d "$(rel)" ] || { echo "No $(tes) (testing) or $(rel) (stable) directory in releases."; exit 1; } - @if [ "`readlink $(HTMLDIR)/oldstable`" != "$(old)" ]; then rm -f $(HTMLDIR)/oldstable; fi - @if [ "`readlink $(HTMLDIR)/stable`" != "$(rel)" ]; then rm -f $(HTMLDIR)/stable; fi - @if [ "`readlink $(HTMLDIR)/testing`" != "$(tes)" ]; then rm -f $(HTMLDIR)/testing; fi - @test -L $(HTMLDIR)/oldstable || ln -sv $(old) $(HTMLDIR)/oldstable - @test -L $(HTMLDIR)/stable || ln -sv $(rel) $(HTMLDIR)/stable - @test -L $(HTMLDIR)/testing || ln -sv $(tes) $(HTMLDIR)/testing -endif +include $(subst webwml/danish,webwml/english,$(CURDIR))/Makefile |