summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-01-26 16:32:00 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-01-26 16:32:00 -0500
commit626788435d4a49eeea9fa2382f7ec554a0b92197 (patch)
tree384a9ec3b56051fdf8ed635b78ccb8f6776c03ab
parentb5af7f362e30b1bbde4eef4216385ae2b2ea1bee (diff)
downloadxorg-lib-libSM-626788435d4a49eeea9fa2382f7ec554a0b92197.tar.gz
doc: clean-up generated html images
Generate images in /images as is the convention Provide a base file name for images rather than process ID Remove images directory when running make clean Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--doc/.gitignore2
-rw-r--r--doc/Makefile.am5
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 5077603..84d7456 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -5,4 +5,4 @@
*.html.raw
*.ps.raw
*.txt.raw
-grohtml-*.png
+/images
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b1fccc0..05fee05 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -33,6 +33,9 @@ doc_DATA = SMlib.txt SMlib.ps SMlib.html xsmp.txt xsmp.ps xsmp.html
CLEANFILES = $(doc_DATA)
MOSTLYCLEANFILES = index.*
+mostlyclean-local:
+ @rm -fr images
+
# Pass version string as a troff string for substitution
GROFF_DEFS = -dxV="$(PACKAGE_STRING)"
@@ -51,6 +54,6 @@ SUFFIXES = .ms .ps .txt .html
$< 2> index.$@.raw > $@
.ms.html:
- $(AM_V_GEN) $(GROFF) -Thtml $(GROFF_FLAGS) $< 2> index.$@.raw > $@
+ $(AM_V_GEN) $(GROFF) -Thtml -P-Dimages -P-I$*-image $(GROFF_FLAGS) $< 2> index.$@.raw > $@
endif BUILD_DOCS