diff options
author | Frank Lichtenheld <djpig> | 2004-08-05 12:48:31 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig> | 2004-08-05 12:48:31 +0000 |
commit | a850a90a7a3cda4c0847ae5a856ecba745a6f4b7 (patch) | |
tree | c56790a2021736b5cb388101969535929aa00fd8 /english/releases/Makefile | |
parent | 345ef9b154709fbb3192a54de1568e59edc17759 (diff) |
Create a 3.1 link to sarge/. Shouldn't hurt to do this now
CVS version numbers
english/releases/Makefile: 1.18 -> 1.19
Diffstat (limited to 'english/releases/Makefile')
-rw-r--r-- | english/releases/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/english/releases/Makefile b/english/releases/Makefile index 04fedd8d52f..5c1b5b0b259 100644 --- a/english/releases/Makefile +++ b/english/releases/Makefile @@ -14,8 +14,8 @@ index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/template.wml \ ifeq "$(LANGUAGE)" "en" # this stuff creates symlinks for releases -tes := $(shell grep current_testing_name info | cut -d\< -f2 | cut -d\> -f2) -rel := $(shell grep current_release_name info | cut -d\< -f2 | cut -d\> -f2) +tes := $(shell grep "define-tag current_testing_name" info | grep -v ^\# | cut -d\< -f2 | cut -d\> -f2) +rel := $(shell grep "define-tag current_release_name" info | grep -v ^\# | cut -d\< -f2 | cut -d\> -f2) uns := sid install:: @@ -23,6 +23,7 @@ install:: @if [ -d $(HTMLDIR)/slink -a ! -L $(HTMLDIR)/2.1 ]; then ln -sv slink $(HTMLDIR)/2.1; fi @if [ -d $(HTMLDIR)/potato -a ! -L $(HTMLDIR)/2.2 ]; then ln -sv potato $(HTMLDIR)/2.2; fi @if [ -d $(HTMLDIR)/woody -a ! -L $(HTMLDIR)/3.0 ]; then ln -sv woody $(HTMLDIR)/3.0; fi + @if [ -d $(HTMLDIR)/sarge -a ! -L $(HTMLDIR)/3.1 ]; then ln -sv sarge $(HTMLDIR)/3.1; fi @[ -d "$(tes)" -a -d "$(rel)" ] || { echo "No $(tes) or $(rel) directory in releases."; exit 1; } @if [ "`readlink $(HTMLDIR)/stable`" != "$(rel)" ]; then rm -f $(HTMLDIR)/stable; fi @if [ "`readlink $(HTMLDIR)/testing`" != "$(tes)" ]; then rm -f $(HTMLDIR)/testing; fi |