summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-06-23 11:30:40 +0200
committerunknown <lenz@mysql.com>2005-06-23 11:30:40 +0200
commit0beb0abf5a7572a461aff86eeaedbf8307bfc911 (patch)
tree0ae2381b4d1e13411ba339df69ebfdb1a8a18ba2
parent59445ce472053bac4d96745e32d015fd4128cb61 (diff)
downloadmariadb-git-0beb0abf5a7572a461aff86eeaedbf8307bfc911.tar.gz
- fixed text file generation - the node names in the info page had changed
BitKeeper/deleted/.del-generate-flag-images~f77476753fff8186: Delete: Docs/Support/generate-flag-images Docs/Makefile.am: - fixed node names for the new info file Docs/Support/generate-text-files.pl: - stop printing if the index was reached
-rw-r--r--Docs/Makefile.am8
-rwxr-xr-xDocs/Support/generate-flag-images31
-rwxr-xr-xDocs/Support/generate-text-files.pl2
3 files changed, 5 insertions, 36 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am
index 8577fee52cb..dba3a4f819c 100644
--- a/Docs/Makefile.am
+++ b/Docs/Makefile.am
@@ -36,19 +36,19 @@ CLEAN_FILES: $(txt_files)
GT = $(srcdir)/Support/generate-text-files.pl
../INSTALL-SOURCE: mysql.info $(GT)
- perl -w $(GT) mysql.info "Installing" "Tutorial" > $@
+ perl -w $(GT) mysql.info "installing-source" "windows-source-build" > $@
# We put the description for the binary installation here so that
# people who download source wont have to see it. It is moved up to
# the toplevel by the script that makes the binary tar files.
INSTALL-BINARY: mysql.info $(GT)
- perl -w $(GT) mysql.info "Installing binary" "Installing source" > $@
+ perl -w $(GT) mysql.info "installing-binary" "installing-source" > $@
../EXCEPTIONS-CLIENT: mysql.info $(GT)
- perl -w $(GT) mysql.info "MySQL FLOSS License Exception" "Function Index" > $@
+ perl -w $(GT) mysql.info "mysql-floss-license-exception" "function-index" > $@
../support-files/MacOSX/ReadMe.txt: mysql.info $(GT)
- perl -w $(GT) mysql.info "Mac OS X installation" "NetWare installation" > $@
+ perl -w $(GT) mysql.info "mac-os-x-installation" "netware-installation" > $@
# Don't update the files from bitkeeper
%::SCCS/s.%
diff --git a/Docs/Support/generate-flag-images b/Docs/Support/generate-flag-images
deleted file mode 100755
index 21140388012..00000000000
--- a/Docs/Support/generate-flag-images
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-flags=`grep @image mirrors.texi | cut -d" " -f1 | cut -d/ -f2 | tr -d "}" | sort | uniq`
-
-set -x
-cd Flags
-
-for c in $flags
-do
- # For PNM, to be used later
- giftopnm ../Raw-Flags/$c.gif | pnmscale -xsize 30 > $c-tmp.pnm
- pnmpaste $c-tmp.pnm 1 1 ../Images/flag-background.pnm > $c.pnm
- rm -f $c-tmp.pnm
-
- # For GIF version
- ppmtogif $c.pnm > $c.gif
- # or cjpeg -optimize -quality 70 -outfile $c.jpg
-
- # For EPS version
- pnmtops -noturn $c.pnm > $c.eps
-
- # For PDF version
- ps2pdf $c.eps $c.pdf
-
- # For text version
- echo -n "" > $c.txt
-
- # PNM isn't really needed
- rm -f $c.pnm
-
-done
diff --git a/Docs/Support/generate-text-files.pl b/Docs/Support/generate-text-files.pl
index 6470baaa6e9..0829525f679 100755
--- a/Docs/Support/generate-text-files.pl
+++ b/Docs/Support/generate-text-files.pl
@@ -13,7 +13,7 @@ while (<IN>)
{
if ($in)
{
- if (/Node: $tnode,/)
+ if (/Node: $tnode,/ || /\[index/)
{
$in = 0;
}