summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-01-26 15:18:04 -0800
committerJohn Wiegley <johnw@newartisans.com>2012-01-26 15:18:04 -0800
commit667fdbf053b50be413c614236ffeafb7460e09ff (patch)
treea815753a34e9951a1e3e68278ee803dcfeb3e857 /doc
parentd2915c6625d6d21d7d583797da8eea77ee608e3a (diff)
parentd14e768c27cfb90eefe04c8f992108304dbd16a8 (diff)
downloadfork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.tar.gz
fork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.tar.bz2
fork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.zip
Merge pull request #54 from simonmichael/next
quick makefile used for building website
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 00000000..64a271fa
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,17 @@
+# quick doc-building makefile used by website
+# requires: man2html, texinfo
+
+docs: ledger.1.html ledger.html ledger.pdf ledger3.html ledger3.pdf
+
+%.1.html: %.1
+ -man2html $< | tail -n+3 >$@
+
+%.html: %.texi
+ -makeinfo --force --html --no-split -o $@ $<
+
+%.pdf: %.texi
+ -texi2pdf -b -q $<
+ rm -f $*.aux $*.cp $*.fn $*.ky $*.log $*.pg $*.toc $*.tp $*.vr
+
+clean:
+ rm -rf ledger.1.html ledger.html ledger3.html ledger.pdf ledger3.pdf