projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60aae33
)
doc/automake.mk (html-local): Add dependency on the directory doc/pspp.html
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 13 Dec 2020 09:34:21 +0000
(10:34 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 13 Dec 2020 09:34:21 +0000
(10:34 +0100)
Fixes bug #59577 (hopefully).
doc/automake.mk
patch
|
blob
|
history
diff --git
a/doc/automake.mk
b/doc/automake.mk
index 3571cc4960b116f22a75dca1fc975b618036ae74..0871be428973e8ac0849961995854496c6bcb8a5 100644
(file)
--- a/
doc/automake.mk
+++ b/
doc/automake.mk
@@
-227,7
+227,8
@@
$(FIGURE_TXTS) $(FIGURE_HTMLS): $(pspp_output)
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) --css-ref=pspp-manual.css
# Adjust the path for screenshot images.
# But make sure these operations are idempotent.
-html-local:
+html-local: doc/pspp.html
+ test -d doc/pspp.html
for h in doc/pspp.html/*.html; do \
if grep -Fq '<img src="screenshots/' $$h; then continue; fi ; \
$(SED) -i -e 's|<img src="\([^"]*\)"|<img src="screenshots/\1"|' $$h; \