summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2007-11-06 21:46:13 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2007-11-06 21:46:13 +0100
commit881ce05bc3d91c36848418c640ed0897a4bc3708 (patch)
tree2b2181649ce659039d3a885f4fc5e39ac8eb7845
parentbd2f587e3304b5b588cdb3732f59fda4d12c4a74 (diff)
downloadndim-git-utils-881ce05bc3d91c36848418c640ed0897a4bc3708.tar.gz
ndim-git-utils-881ce05bc3d91c36848418c640ed0897a4bc3708.tar.xz
ndim-git-utils-881ce05bc3d91c36848418c640ed0897a4bc3708.zip
1.12.10 - autogenerate FOOTER.htmlv1.12.10
-rw-r--r--NEWS2
-rw-r--r--build-helpers/txt2html.sed10
-rw-r--r--configure.ac4
-rw-r--r--doc/FOOTER.html4
-rw-r--r--doc/Makefile-files15
5 files changed, 27 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 360b703..40cb726 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,2 @@
-ndim-git-utils 1.12.9
+ndim-git-utils 1.12.10
First public release.
diff --git a/build-helpers/txt2html.sed b/build-helpers/txt2html.sed
new file mode 100644
index 0000000..a2849b7
--- /dev/null
+++ b/build-helpers/txt2html.sed
@@ -0,0 +1,10 @@
+s/&/\&amp/g;
+s/</\&lt;/g;
+s/>/\&gt;/g;
+1s/^/<pre>\
+/;
+$s/$/\
+<\/pre>/;
+s|\([a-z]\{1,\}\)@\([a-z0-9.-]\{1,\}\)|\1(at)\2|;
+s|\([a-zA-Z0-9_-]\{1,\}\)\(([1-9])\)|<a href="\1.txt">\1\2</a>|;
+s|\(http://[a-zA-Z0-9./_-]\{1,\}\)|<a href="\1">\1</a>|g;
diff --git a/configure.ac b/configure.ac
index ecab016..fefec36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
AC_PREREQ(2.61)
AC_INIT([ndims git utilities],
- [1.12.9],
+ [1.12.10],
[hun@n-dimensional.de],
[ndim-git-utils])
AC_CONFIG_AUX_DIR([auto-aux])
@@ -14,6 +14,8 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.10 dist-bzip2
########################################################################
+AC_PROG_SED
+
m4_pattern_forbid([NDIM_DETECT_MAN2TXT])dnl
NDIM_DETECT_MAN2TXT()dnl
diff --git a/doc/FOOTER.html b/doc/FOOTER.html
deleted file mode 100644
index c56cb9b..0000000
--- a/doc/FOOTER.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<pre>
-git clone http://nix.lauft.net/ndim-git-utils.git/
-</pre>
-<p>Copyright (C) 2007 Hans Ulrich Niedermann</p>
diff --git a/doc/Makefile-files b/doc/Makefile-files
index 8c490b1..d2b8992 100644
--- a/doc/Makefile-files
+++ b/doc/Makefile-files
@@ -6,5 +6,16 @@ UPLOAD_FILES += doc/ndim-git-cheatsheet.txt
UPLOAD_FILES += doc/.htaccess
EXTRA_DIST += doc/.htaccess
-UPLOAD_FILES += doc/HEADER.html doc/FOOTER.html
-EXTRA_DIST += doc/HEADER.html doc/FOOTER.html
+UPLOAD_FILES += doc/HEADER.html
+EXTRA_DIST += doc/HEADER.html
+
+UPLOAD_FILES += doc/FOOTER.html
+CLEANFILES += doc/FOOTER.html
+
+EXTRA_DIST += build-helpers/txt2html.sed
+
+doc/FOOTER.html: $(top_srcdir)/README $(top_srcdir)/build-helpers/txt2html.sed
+ mkdir -p doc
+ $(SED) -f "$(top_srcdir)/build-helpers/txt2html.sed" $(top_srcdir)/README > "doc/FOOTER.html.new"
+ test -s "doc/FOOTER.html.new"
+ mv -f "doc/FOOTER.html.new" "doc/FOOTER.html"