summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile13
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9be7ade
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.pdf
+*.fo
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} -