summaryrefslogtreecommitdiffstats
path: root/doc/Makefile-files
blob: d2b8992227fac1ea5c189573fa28950ab12b19a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- Makefile -*-
EXTRA_DIST   += doc/ndim-git-cheatsheet.txt
doc_DATA     += doc/ndim-git-cheatsheet.txt
UPLOAD_FILES += doc/ndim-git-cheatsheet.txt

UPLOAD_FILES += doc/.htaccess
EXTRA_DIST   += doc/.htaccess

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"