From fd4b3f4de0f4ea6065b3dadcf86e6bd878a06a95 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 13 Nov 2010 21:33:03 +0100 Subject: [PATCH] Include the NEWS file in the web page. Reformat the release headers in the NEWS file to make the html variant produced by grutatxt nicer. --- Makefile | 6 ++++-- NEWS | 20 +++++--------------- index.html.in | 10 ++++++++++ 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index f59e315..99b8286 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,12 @@ dss.1: dss dss.1.inc clean: rm -f *.o dss dss.1 dss.1.html Makefile.deps *.ppm *.png *~ cmdline.c cmdline.h index.html -index.html: dss.1.html index.html.in INSTALL README +index.html: dss.1.html index.html.in INSTALL README NEWS sed -e '/@README@/,$$d' index.html.in > $@ grutatxt -nb < README >> $@ - sed -e '1,/@README@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@ + sed -e '1,/@README@/d' -e '/@NEWS@/,$$d' index.html.in >> $@ + grutatxt -nb < NEWS >> $@ + sed -e '1,/@NEWS@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@ grutatxt -nb < INSTALL >> $@ sed -e '1,/@INSTALL@/d' -e '/@MAN_PAGE@/,$$d' index.html.in >> $@ sed -e '1,/Return to Main Contents/d' -e '/Index/,$$d' dss.1.html >> $@ diff --git a/NEWS b/NEWS index 32ed675..6b9deec 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,5 @@ ------------------- 0.1.4 (2010-11-08) ------------------- - +~~~~~~~~~~~~~~~~~~ This version of dss contains some new features, many improvements of existing features and several bug fixes. @@ -11,36 +9,28 @@ exists. The internal handling of the various hooks has been simplified and many error messages have been clarified. On SIGHUP, dss now writes its configuration and internal state to the log file. ------------------- 0.1.3 (2009-06-06) ------------------- - +~~~~~~~~~~~~~~~~~~ You can now specify pre-rm/post-rm-hooks that are executed whenever a snapshot is deleted. This release adds better compatibility with rsync 3.0, and avoids busy loops when automatically restarting the rsync process. ------------------- 0.1.2 (2009-03-05) ------------------- - +~~~~~~~~~~~~~~~~~~ This release includes the reason why a snapshot gets removed in the log message. It will never remove the snapshot that is currently being created. It will really pass the full path to the last complete snapshot in the post_create_hook. ------------------- 0.1.1 (2008-11-13) ------------------- - +~~~~~~~~~~~~~~~~~~ This release prevents busy loops on rsync exit code 13. It ignores any snapshot directory with creation time > completion time. It opens /dev/null for reading and writing when executing rsync. It shows human readable snapshot creation duration when listing snapshots. It restarts the rsync process if it returned with exit code 13. ------------------- 0.1.0 (2008-10-10) ------------------- - +~~~~~~~~~~~~~~~~~~ Initial public release. diff --git a/index.html.in b/index.html.in index b42402f..d89af07 100644 --- a/index.html.in +++ b/index.html.in @@ -23,6 +23,7 @@
[README] + [NEWS] [Download] [INSTALL] [License] @@ -41,6 +42,15 @@
+
+

+ NEWS +

+
+ + @NEWS@ + +

-- 2.39.2