summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.ath.cx>2009-08-04 17:45:25 +0000
committerbrian m. carlson <sandals@crustytoothpaste.ath.cx>2009-08-04 17:45:25 +0000
commitd087f70cdcc8ca54b563db5506e4927477284a6a (patch)
tree9c95b0f8959e733eef677a618476cb054d193f05 /Makefile
parentc744d4e1b20fe2765b811bb8c0ca5522ae39fa97 (diff)
Add support for building individual files.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.ath.cx>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..866458f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+SHEETDIR := ${HOME}/.crustytoothpaste/groups/xsl-sheets/docbook/personal
+DOC_CVT := ${HOME}/.crustytoothpaste/groups/scripts/doc-convert
+
+STYLE := ${SHEETDIR}/fo.xsl
+PSTP := ${SHEETDIR}/fo-pstp.xsl
+
+.SUFFIXES: .fo .pdf .dbx
+
+.fo.pdf:
+ ${DOC_CVT} -e -t fop-beta -i ${.IMPSRC} -o ${.TARGET}
+
+.dbx.fo:
+ xsltproc ${STYLE} ${.IMPSRC} | xsltproc -o ${.TARGET} ${PSTP} -