-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
30 lines (21 loc) · 1.19 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: render
SHELL = /bin/bash
test: all
prove tests-dir/*.t
check: test
README.asciidoc: what-you-should-know-about-automated-testing.docbook5.xml
perl render.pl
git add $@
git add -u .
what-you-should-know-about-automated-testing/all-in-one.xhtml.temp.xml.xhtml: what-you-should-know-about-automated-testing.docbook5.xml
docmake -v --stringparam "docbook.css.source=" --stringparam "root.filename=all-in-one.xhtml.temp.xml" --basepath /usr/share/sgml/docbook/xsl-ns-stylesheets -x "$${homepage:-$$HOME/Docs/homepage/homepage/trunk/}"/lib/sgml/shlomif-docbook/xsl-5-stylesheets/shlomif-essays-5-xhtml-onechunk.xsl -o what-you-should-know-about-automated-testing/ xhtml5 $<
perl -0777 -p -i -E 's=<footer/>(</body></html>)\z=$$1=' $@
what-you-should-know-about-automated-testing.docbook5.xml: what-you-should-know-about-automated-testing.docbook5.xml.tt2
tpage $< > $@
# render: multiverse-cosmology-v0.4.x.asciidoc
render: README.asciidoc
render: what-you-should-know-about-automated-testing/all-in-one.xhtml.temp.xml.xhtml
upload: render
rsync -a -v --progress --rsh=ssh \
what-you-should-know-about-automated-testing/all-in-one.xhtml.temp.xml.xhtml \
"$${__HOMEPAGE_REMOTE_PATH}"/_automated-testing/