Code

fb.txt: Added manpage; built using asciidoc and xsltproc.
[template.git] / doc / Makefile.am
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644 (file)
index 0000000..70a76cf
--- /dev/null
@@ -0,0 +1,10 @@
+EXTRA_DIST = fb.txt
+CLEANFILES = fb.1
+
+man_MANS = fb.1
+
+fb.1: fb.txt
+
+.txt.1:
+       a2x -d manpage -f manpage -apackage_version=$(PACKAGE_VERSION) $<
+