projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88ddd5
)
Makefile rule pspp.xml: Simplify slightly
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 15 Feb 2015 11:56:29 +0000
(12:56 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 15 Feb 2015 11:56:29 +0000
(12:56 +0100)
doc/automake.mk
patch
|
blob
|
history
diff --git
a/doc/automake.mk
b/doc/automake.mk
index 8c9f660ee347d5bf564852c2a56cf73abc21a678..92bd95dca95aca4159df8e6eb0dd95b85a3e0f56 100644
(file)
--- a/
doc/automake.mk
+++ b/
doc/automake.mk
@@
-78,8
+78,9
@@
$(srcdir)/doc/pspp.xml: doc/pspp.texi $(doc_pspp_TEXINFOS)
-e 's/././g' \
-e 's%\(<figure [^>]*\)>%\1/>%g' \
| $(AWK) '/<para>.*<table.*>.*<\/para>/{x=sub("</para>",""); print; s=1;next}/<\/table>/{print; if (s==1) print "</para>"; s=0; next}1' \
- > $@
- $(AM_V_at)$(XMLLINT) --output /dev/null $@ || ( $(RM) $@ ; false)
+ > $@,tmp
+ $(AM_V_at)$(XMLLINT) --output /dev/null $@,tmp
+ mv $@,tmp $@
docbookdir = $(docdir)
dist_docbook_DATA = doc/pspp.xml