mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-04-26 21:50:45 +02:00
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>
This commit is contained in:
parent
eb289b34bf
commit
9ca583c5d6
2 changed files with 5 additions and 2 deletions
2
specs/.gitignore
vendored
2
specs/.gitignore
vendored
|
|
@ -6,4 +6,4 @@
|
|||
*.html.raw
|
||||
*.ps.raw
|
||||
*.txt.raw
|
||||
grohtml-*.png
|
||||
images
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ doc_DATA = $(doc_sources:.ms=.txt) \
|
|||
CLEANFILES = $(doc_DATA)
|
||||
MOSTLYCLEANFILES = index.*
|
||||
|
||||
mostlyclean-local:
|
||||
@rm -fr images
|
||||
|
||||
# Pass version string as a troff string for substitution
|
||||
GROFF_DEFS = -dxV="$(PACKAGE_STRING)"
|
||||
|
||||
|
|
@ -57,7 +60,7 @@ SUFFIXES = .ms .ps .txt .html .pdf
|
|||
$< 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 > $@
|
||||
|
||||
.ps.pdf:
|
||||
$(AM_V_GEN) $(PS2PDF) $< $@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue