summaryrefslogtreecommitdiff
path: root/Docs/Makefile.am
diff options
context:
space:
mode:
authorjcole@tetra.spaceapes.com <>2000-09-19 01:13:26 -0500
committerjcole@tetra.spaceapes.com <>2000-09-19 01:13:26 -0500
commit71c1477fb6a80bd575e85c6e921afe0a5f781370 (patch)
tree312acecb31ea6ee5dbf594831a374361a1d7441f /Docs/Makefile.am
parentce8f1b23c3defed0ff2b44e197ba892ee93a9d70 (diff)
downloadmariadb-git-71c1477fb6a80bd575e85c6e921afe0a5f781370.tar.gz
work to create nusphere.pdf automagically.
Diffstat (limited to 'Docs/Makefile.am')
-rw-r--r--Docs/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am
index b9fa5401a37..cd539277c70 100644
--- a/Docs/Makefile.am
+++ b/Docs/Makefile.am
@@ -69,12 +69,17 @@ manual.pdf: manual.texi
touch $@
# Target to produce NuSphere Manual
-print-manual.pdf: manual.texi
- cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi; \
+nusphere.pdf: manual.texi
+ cat manual.texi \
+ | sed -e 's/@example/@smallexample/g' \
+ -e 's/@end example/@end smallexample/g' \
+ -e 's/@c ifnusphere //g' \
+ -e 's|@image{[^}]*} *||g' \
+ > manual-tmp.texi; \
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
'\input manual-tmp.texi'; \
- mv manual-tmp.pdf $@; \
+ mv manual-tmp.pdf nusphere.pdf; \
rm -f manual-tmp.* ; \
touch $@