Minor changes to README.html.in and generation of README.html: cope
with unofficial, official beta and official release CDs better. Let's not repeat the sarge mistake. Closes: #312604
This commit is contained in:
parent
c065e67805
commit
9bb616bedf
12
CONF.sh
12
CONF.sh
|
@ -334,3 +334,15 @@ export OMIT_RELEASE_NOTES=1
|
||||||
|
|
||||||
# Set this to override the defaul location
|
# Set this to override the defaul location
|
||||||
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
||||||
|
|
||||||
|
case "$OFFICIAL"x in
|
||||||
|
"Official"x)
|
||||||
|
export OFFICIAL_VAL=2
|
||||||
|
;;
|
||||||
|
"Official Beta"x)
|
||||||
|
export OFFICIAL_VAL=1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export OFFICIAL_VAL=0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -586,14 +586,14 @@ $(SDIR)/CD1/README.html:
|
||||||
$$dir/README.mirrors.html $$dir/README.non-US; \
|
$$dir/README.mirrors.html $$dir/README.non-US; \
|
||||||
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
||||||
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
||||||
-D OFFICIAL=$(OFFICIAL) \
|
-D OFFICIAL_VAL=$(OFFICIAL_VAL) \
|
||||||
-D OUTPUTtext $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
-D OUTPUTtext $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
||||||
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
||||||
lynx -dump -force_html $$dir/README.html | todos \
|
lynx -dump -force_html $$dir/README.html | todos \
|
||||||
> $$dir/README.txt ; \
|
> $$dir/README.txt ; \
|
||||||
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
||||||
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
||||||
-D OFFICIAL=$(OFFICIAL) \
|
-D OFFICIAL_VAL=$(OFFICIAL_VAL) \
|
||||||
-D OUTPUThtml $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
-D OUTPUThtml $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
||||||
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
||||||
rm -f $$dir/README.diskdefines ; \
|
rm -f $$dir/README.diskdefines ; \
|
||||||
|
|
|
@ -432,21 +432,32 @@ Last-Minute Notes
|
||||||
#endif
|
#endif
|
||||||
</H2>
|
</H2>
|
||||||
</a>
|
</a>
|
||||||
#if OFFICIAL != Official
|
|
||||||
<p>
|
<p>
|
||||||
<UL>
|
<UL>
|
||||||
|
|
||||||
<LI>
|
<LI>
|
||||||
You should keep in mind that this is an unofficial CD of the current
|
|
||||||
|
#if OFFICIAL_VAL == 0
|
||||||
|
You should keep in mind that this is an unofficial CD of the Debian
|
||||||
|
system. This means that all sorts of bugs may be present anywhere in
|
||||||
|
the system. Please report any bugs you find to the person that gave
|
||||||
|
you this CD, not Debian.
|
||||||
|
#endif
|
||||||
|
#if OFFICIAL_VAL == 1
|
||||||
|
You should keep in mind that this is a beta CD of the current
|
||||||
development version of the Debian system. This means that all sorts of
|
development version of the Debian system. This means that all sorts of
|
||||||
bugs may be present anywhere in the system.
|
bugs may be present anywhere in the system.
|
||||||
|
#endif
|
||||||
|
#if OFFICIAL_VAL == 2
|
||||||
|
This is an official release of the Debian system. Please report any
|
||||||
|
bugs you find in the Debian Bug Tracking System; details at <A
|
||||||
|
HREF="http://bugs.debian.org/">bugs.debian.org</A>.
|
||||||
|
#endif
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
</LI>
|
</LI>
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TYPEbinary
|
#if TYPEbinary
|
||||||
#if OUTPUTtext
|
#if OUTPUTtext
|
||||||
|
|
|
@ -432,21 +432,32 @@ Last-Minute Notes
|
||||||
#endif
|
#endif
|
||||||
</H2>
|
</H2>
|
||||||
</a>
|
</a>
|
||||||
#if OFFICIAL != Official
|
|
||||||
<p>
|
<p>
|
||||||
<UL>
|
<UL>
|
||||||
|
|
||||||
<LI>
|
<LI>
|
||||||
You should keep in mind that this is an unofficial CD of the current
|
|
||||||
|
#if OFFICIAL_VAL == 0
|
||||||
|
You should keep in mind that this is an unofficial CD of the Debian
|
||||||
|
system. This means that all sorts of bugs may be present anywhere in
|
||||||
|
the system. Please report any bugs you find to the person that gave
|
||||||
|
you this CD, not Debian.
|
||||||
|
#endif
|
||||||
|
#if OFFICIAL_VAL == 1
|
||||||
|
You should keep in mind that this is a beta CD of the current
|
||||||
development version of the Debian system. This means that all sorts of
|
development version of the Debian system. This means that all sorts of
|
||||||
bugs may be present anywhere in the system.
|
bugs may be present anywhere in the system.
|
||||||
|
#endif
|
||||||
|
#if OFFICIAL_VAL == 2
|
||||||
|
This is an official release of the Debian system. Please report any
|
||||||
|
bugs you find in the Debian Bug Tracking System; details at <A
|
||||||
|
HREF="http://bugs.debian.org/">bugs.debian.org</A>.
|
||||||
|
#endif
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
</LI>
|
</LI>
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TYPEbinary
|
#if TYPEbinary
|
||||||
#if OUTPUTtext
|
#if OUTPUTtext
|
||||||
|
|
|
@ -334,3 +334,15 @@ export OMIT_RELEASE_NOTES=1
|
||||||
|
|
||||||
# Set this to override the defaul location
|
# Set this to override the defaul location
|
||||||
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
||||||
|
|
||||||
|
case "$OFFICIAL"x in
|
||||||
|
"Official"x)
|
||||||
|
export OFFICIAL_VAL=2
|
||||||
|
;;
|
||||||
|
"Official Beta"x)
|
||||||
|
export OFFICIAL_VAL=1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export OFFICIAL_VAL=0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
|
@ -161,6 +161,9 @@ debian-cd (2.2.25) UNRELEASED; urgency=low
|
||||||
[ Steve McIntyre ]
|
[ Steve McIntyre ]
|
||||||
* Update the suggested DVD size in CONF.sh to a saner number
|
* Update the suggested DVD size in CONF.sh to a saner number
|
||||||
* Re-sync CONF.sh over debian/CONF.sh
|
* Re-sync CONF.sh over debian/CONF.sh
|
||||||
|
* Minor changes to README.html.in and generation of README.html:
|
||||||
|
cope with unofficial, official beta and official release CDs
|
||||||
|
better. Let's not repeat the sarge mistake. Closes: #312604
|
||||||
|
|
||||||
-- Steve McIntyre <93sam@debian.org> Thu, 5 Oct 2006 23:51:42 +0100
|
-- Steve McIntyre <93sam@debian.org> Thu, 5 Oct 2006 23:51:42 +0100
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ for i in $BDIR/*.packages; do
|
||||||
cpp -traditional -undef -P -C -Wall -nostdinc -I$dir \
|
cpp -traditional -undef -P -C -Wall -nostdinc -I$dir \
|
||||||
-D OMIT_MANUAL="$OMIT_MANUAL" \
|
-D OMIT_MANUAL="$OMIT_MANUAL" \
|
||||||
-D OMIT_RELEASE_NOTES="$OMIT_RELEASE_NOTES" \
|
-D OMIT_RELEASE_NOTES="$OMIT_RELEASE_NOTES" \
|
||||||
-D OFFICIAL="$OFFICIAL" \
|
-D OFFICIAL_VAL=$OFFICIAL_VAL \
|
||||||
-D OUTPUTtext $BASEDIR/data/$CODENAME/README.html.in \
|
-D OUTPUTtext $BASEDIR/data/$CODENAME/README.html.in \
|
||||||
| sed -e 's/%%.//g' > $dir/README.html
|
| sed -e 's/%%.//g' > $dir/README.html
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ for i in $BDIR/*.packages; do
|
||||||
cpp -traditional -undef -P -C -Wall -nostdinc -I $dir/ \
|
cpp -traditional -undef -P -C -Wall -nostdinc -I $dir/ \
|
||||||
-D OMIT_MANUAL="$OMIT_MANUAL" \
|
-D OMIT_MANUAL="$OMIT_MANUAL" \
|
||||||
-D OMIT_RELEASE_NOTES="$OMIT_RELEASE_NOTES" \
|
-D OMIT_RELEASE_NOTES="$OMIT_RELEASE_NOTES" \
|
||||||
-D OFFICIAL="$OFFICIAL" \
|
-D OFFICIAL_VAL=$OFFICIAL_VAL \
|
||||||
-D OUTPUThtml $BASEDIR/data/$CODENAME/README.html.in \
|
-D OUTPUThtml $BASEDIR/data/$CODENAME/README.html.in \
|
||||||
| sed -e 's/%%.//g' > $dir/README.html
|
| sed -e 's/%%.//g' > $dir/README.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue