summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-03 13:08:17 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-03 13:08:17 -0700
commit8f3db40ca5108a919244f3fff7466d01a14b3ce2 (patch)
treea0b755cbe15f68f3744fb82f351bd0837bb577a4
parentbdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e (diff)
Workaround bug in groff flag processing that breaks distcheck
At least with the groff 1.19.2 package I have installed, groff passes on the -I flags for the include path to grohtml, which if they come after the -P-I... flag we pass to grohtml to specify the image file name pattern cause it to override that flag and put the images in the wrong place, breaking "make distcheck" - changing the flag order works around this. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--specs/troffrules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/troffrules.in b/specs/troffrules.in
index 83c3de40..56168447 100644
--- a/specs/troffrules.in
+++ b/specs/troffrules.in
@@ -84,7 +84,7 @@ SUFFIXES = .ms .ps .txt .html .pdf
$< 2> index.$@.raw > $@
.ms.html:
- $(AM_V_GEN) $(GROFF) -Thtml -P-Dimages -P-I$*-image $(GROFF_FLAGS) $< 2> index.$@.raw > $@
+ $(AM_V_GEN) $(GROFF) $(GROFF_FLAGS) -Thtml -P-Dimages -P-I$*-image $< 2> index.$@.raw > $@
.ps.pdf:
$(AM_V_GEN) $(PS2PDF) $< $@