Changeset 659 in MondoRescue for branches/stable/tools/mkannounce


Ignore:
Timestamp:
Jun 9, 2006, 10:33:24 AM (19 years ago)
Author:
bcornec
Message:

changelog are now generated from mindi's and mondo's main ChangeLog files
new tool to create automatically announces for new version-tag
news.shtml and latest-news.html are now generated from a DB of announce (SQLite)
announce DB added (SQLite v3)
Build process improved for Debian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/mkannounce

    r651 r659  
    6464rm -f $TMP/mindi.ann $TMP/mondo.ann
    6565
     66vi $TMP/announce.tmp
    6667# Store it in DB for Web pages generation
    6768$TOOLHOME/mkannounce.pl $TMP/announce.tmp
    6869# Then deliver it on the Web
    69 #$TOOLHOME/livwww www
     70$TOOLHOME/livwww www
     71cat > $TMP/announce.hdr << EOF
     72<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
     73
     74<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en">
     75  <head>
     76  </head>
     77  <body>
     78  <p>
     79EOF
     80cat > $TMP/announce.ftr << EOF
     81</body>
     82</html>
     83EOF
     84# Mail it to mr ML
     85cat $TMP/announce.hdr $TMP/announce.tmp $TMP/announce.ftr | w3m -dump -T text/html > $TMP/mondo.ann.txt
     86export EMAIL="bruno@mondorescue.org"
     87export TMPDIR=$TMP
     88cat $TMP/mondo.ann.txt | mutt -s "`head -1 $TMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de
     89rm -rf $TMP
Note: See TracChangeset for help on using the changeset viewer.