Link to dependency graph, (X)HTML polyglot for index.html, dependencies in Makefile

This commit is contained in:
Georges Dupéron 2019-03-09 05:24:00 +01:00
parent f7e37e89f6
commit ac12b61898
3 changed files with 18 additions and 5 deletions

View File

@ -20,7 +20,7 @@ artifacts/deps.pdf: deps.ps Makefile
mkdir -p $$(dirname $@)
ps2pdf $< $@
artifacts/index.html: doc-src/index.html Makefile
artifacts/index.html: doc-src/index.html artifacts/references/style.css artifacts/deps.svg artifacts/deps.png artifacts/deps.pdf artifacts/references/index.html Makefile
mkdir -p $$(dirname $@)
cp doc-src/index.html $@

View File

@ -1,3 +1,16 @@
<h1>{{{project-name}}}</h1>
<a href="references">References</a>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{{{project-name}}}</title>
<link type="text/css" rel="stylesheet" href="style.css" >
</head>
<body>
<h1>{{{project-name}}}</h1>
<ul>
<li><a href="deps.svg">Dependency graph</a> with work-in-progress indications (<a href="deps.png">PNG</a> and <a href="deps.pdf">PDF</a> versions)</li>
<li><a href="references">References</a></li>
</ul>
</body>
</html>

View File

@ -7,7 +7,7 @@ fi
cat <<EOF
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>$2</title>