summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-01-31 17:43:29 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-01-31 17:43:29 -0500
commitdb4fc91e01d51155322b8057b4dc60d56c3b26f2 (patch)
tree8780f6dd15fe8d676c9052c60ba56de8a8db697e
parentceaf6f7f0e516b1479744df421de404b1decc556 (diff)
downloadxorg-lib-libXaw-db4fc91e01d51155322b8057b4dc60d56c3b26f2.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--spec/.gitignore2
-rw-r--r--spec/Makefile.am5
2 files changed, 5 insertions, 2 deletions
diff --git a/spec/.gitignore b/spec/.gitignore
index fdd2e4d..097387f 100644
--- a/spec/.gitignore
+++ b/spec/.gitignore
@@ -8,4 +8,4 @@ widgets.html
widgets.index.ps
widgets.ps
widgets.txt
-
+/images
diff --git a/spec/Makefile.am b/spec/Makefile.am
index 9e16f97..677cdd3 100644
--- a/spec/Makefile.am
+++ b/spec/Makefile.am
@@ -54,6 +54,9 @@ doc_DATA = widgets.ps widgets.index.ps widgets.txt widgets.html
CLEANFILES = $(doc_DATA)
MOSTLYCLEANFILES = index.*
+mostlyclean-local:
+ @rm -fr images
+
GROFF_DEFS = -dxV="$(PACKAGE_STRING)"
GROFF_FLAGS = -t -ms $(GROFF_DEFS)
@@ -68,7 +71,7 @@ widgets.txt: $(spec_input)
2> index.txt.raw > $@
widgets.html: $(spec_input)
- $(AM_V_GEN) $(GROFF) -Thtml $(GROFF_FLAGS) $(spec_input) \
+ $(AM_V_GEN) $(GROFF) -Thtml -P-Dimages -P-Iwidgets-image $(GROFF_FLAGS) $(spec_input) \
2> index.html.raw > $@
index.raw: widgets.ps