summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5fa652a..3fdf7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,14 @@
-update: pragmatics.txt
+update: pragmatics.txt pragmatics.man
 	git add .
 	git commit
 	git push
 
+pragmatics.man: pragmatics.7
+	groff -man -Tascii pragmatics.7 > pragmatics.man
+pragmatics.7: pragmatics.md
+	mmark --man pragmatics.md > pragmatics.7
 pragmatics.txt: pragmatics.xml
 	xml2rfc --text --html pragmatics.xml
-
 pragmatics.xml: pragmatics.md
 	mmark pragmatics.md > pragmatics.xml