some build stuff
This commit is contained in:
5
m4/indexAbstractsEntry.m4
Normal file
5
m4/indexAbstractsEntry.m4
Normal file
@ -0,0 +1,5 @@
|
||||
<p>
|
||||
<h3>TITLE</h3>
|
||||
ABSTRACT<br/>
|
||||
<a ref="URL">read more</a>
|
||||
</p>
|
1
m4/indexTOCEntry.m4
Normal file
1
m4/indexTOCEntry.m4
Normal file
@ -0,0 +1 @@
|
||||
<li><a ref="URL">TITLE</a></li>
|
12
m4/macros.m4
Normal file
12
m4/macros.m4
Normal 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
0
m4/mkfile.mk
Normal file
3
m4/post.m4
Normal file
3
m4/post.m4
Normal file
@ -0,0 +1,3 @@
|
||||
HEADER
|
||||
CONTENT
|
||||
FOOTER
|
8
m4/posts.mk
Normal file
8
m4/posts.mk
Normal 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
|
Reference in New Issue
Block a user