summaryrefslogtreecommitdiffstats
path: root/doc/Makefile-files
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 /doc/Makefile-files
parentbd2f587e3304b5b588cdb3732f59fda4d12c4a74 (diff)
downloadndim-git-utils-1.12.10.tar.gz
ndim-git-utils-1.12.10.tar.xz
ndim-git-utils-1.12.10.zip
1.12.10 - autogenerate FOOTER.htmlv1.12.10
Diffstat (limited to 'doc/Makefile-files')
-rw-r--r--doc/Makefile-files15
1 files changed, 13 insertions, 2 deletions
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"