pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Vince Vielhaber <vev@michvhf.com>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: SGML build
Date: Sat, 24 Nov 2001 17:58:11 -0500 (EST)
Message-ID: <200111242258.fAOMwBM16606@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.40.0111241757020.48531-100000@paprika.michvhf.com>

> On Sat, 24 Nov 2001, Bruce Momjian wrote:
> 
> > > On Sat, 24 Nov 2001, Bruce Momjian wrote:
> > >
> > > > Vince, now that SGML is building on the main server, do you want to
> > > > point to that one now from the developers page?  Do people want me to
> > > > keep my SGML build here?  I have it down to every 15 minutes.
> > >
> > > Is the 15 mins on your site, the main server or both?
> >
> > Just my site.  I was also asking if we are going to start scheduling
> > SGML builds on the server.
> 
> We can, what needs to be done?

Beats me.  I can give you my script.  It is attached.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/letc/pgsgml (text/plain, 1.6K) download : [ -f /tmp/pgsql_sgml ] && exit trap "rm -f /tmp/$$ /tmp/$$a /tmp/$$b /tmp/pgsql_sgml" 0 1 2 3 15 touch /tmp/pgsql_sgml cd /pgsgmlbuild >/tmp/$$a while test "X$1" = "X-f" || pgcvs update sgml 2>&1 | grep -v '\[update aborted\]' | grep -v '^?' >/tmp/$$a do echo "\nBuild: `date`" >>build.dates cat /tmp/$$a >>build.dates echo "PostgreSQL CVS Documentation Build" >/tmp/$$ echo "----------------------------------\n" >>/tmp/$$ echo "Build started: `date`" >>/tmp/$$ gmake postgres.tar.gz 2>&1 | grep -v DTDDECL > /tmp/$$b echo "Build completed: `date`\n" >>/tmp/$$ echo "Changes in this build:" >>/tmp/$$ cat /tmp/$$a >>/tmp/$$ echo "\nA full copy of this documenation is at ftp://candle.pha.pa.us/pub/postgresql/postgresql-docs.tar.gz\n" >>/tmp/$$ if grep -qi 'error' /tmp/$$b || grep -qi ':E:' /tmp/$$b then echo "\nThere were errors in this build. They appear in red.\n" >>/tmp/$$ cat /tmp/$$b >>/tmp/$$ else echo "\nBuild completed successfully." >>/tmp/$$ fi pipe sed 's;HTML.manifest:;HTML.manifest :;g' /tmp/$$ txt2html -m -s 100 -p 100 --title "PostgreSQL CVS Docs built `date`" \ --link /u/txt2html/txt2html.dict \ --append_head /u/txt2html/BODY /tmp/$$ >build.html pipe sed 's;^.*[Ee]rror.*$;<FONT COLOR="RED">&</FONT>;' build.html pipe sed 's;^.*:E:.*$;<FONT COLOR="RED">&</FONT>;' build.html rm -f /var/www/docs/main/writings/pgsql/sgml/* mv sgml/*.html build.html /var/www/docs/main/writings/pgsql/sgml cp sgml/*.css sgml/*.gif /var/www/docs/main/writings/pgsql/sgml cp postgres.tar.gz /pgftp/postgresql-docs.tar.gz gmake clean >/dev/null 2>&1 [ "X$1" = "X-f" ] && break done

view thread (8+ messages)  latest in thread

Message-ID: <200111242258.fAOMwBM16606@candle.pha.pa.us>
Permalink:  ../200111242258.fAOMwBM16606@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200111242258.fAOMwBM16606@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, vev@michvhf.com
  Subject: Re: SGML build
  In-Reply-To: <200111242258.fAOMwBM16606@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox