some build stuff

This commit is contained in:
2018-05-02 13:46:39 +02:00
parent 17d1d5e3d7
commit 958e97a666
14 changed files with 162 additions and 0 deletions

View File

@ -0,0 +1,5 @@
<p>
<h3>TITLE</h3>
ABSTRACT<br/>
<a ref="URL">read more</a>
</p>

1
m4/indexTOCEntry.m4 Normal file
View File

@ -0,0 +1 @@
<li><a ref="URL">TITLE</a></li>

12
m4/macros.m4 Normal file
View File

@ -0,0 +1,12 @@
define(`HEADER', `
<html>
<head>
<title>my homepage</title>
</head>
<body>
')
define(`FOOTER', `
</body>
</html>
')
define(`ABSTRACT', `')

0
m4/mkfile.mk Normal file
View File

3
m4/post.m4 Normal file
View File

@ -0,0 +1,3 @@
HEADER
CONTENT
FOOTER

8
m4/posts.mk Normal file
View File

@ -0,0 +1,8 @@
include ../../m4/mkfile.mk
article.html: ../../m4/macros.m4 ../../m4/post.m4 article.m4
m4 ../../m4/macros.m4 article.m4 ../../m4/post.m4 > article.html
.PHONY: cleanposts
cleanposts:
-rm -f article.html