Commit 0beb0abf authored by unknown's avatar unknown
Browse files

- 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
parent 59445ce4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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.%

Docs/Support/generate-flag-images

deleted100755 → 0
+0 −31
Original line number Diff line number Diff line
#!/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
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ while (<IN>)
{
  if ($in)
  {
    if (/Node: $tnode,/)
    if (/Node: $tnode,/ || /\[index/)
    {
      $in = 0;
    }