summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/hackersguide/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am
index 02a433299..35d96ca9a 100644
--- a/doc/hackersguide/Makefile.am
+++ b/doc/hackersguide/Makefile.am
@@ -61,10 +61,10 @@ hackersguide.html: $(hackersguide_sgml)
endif
if HAVE_FIG2DEV
-%.png: %.fig
+fig.png:
$(FIG2DEV) -L png -S 4 $< $@;
else
-%.png: %.fig
+.fig.png:
if test x"$(fail_if_missing)" = x"yes"; then \
echo "Please install fig2dev."; \
exit 1; \
@@ -75,3 +75,5 @@ else
touch $(notdir $^); \
fi
endif
+
+SUFFIXES = .png .fig