mc/doc-gnome/C/figs/Makefile.am
Pavel Roskin 9a39356390 * doc-gnome/C/Makefile.am: Distribute mkhtml and genindex.sgml.
Create figs/*.eps if needed. Simplify rules for gmc.dvi and
gmc.rtf - DocBook 4.1 doesn't try to write to $(srcdir).
* doc-gnome/C/figs/Makefile.am: Add support for converting from
PNG to EPS.
2001-05-20 06:43:07 +00:00

35 lines
561 B
Makefile

gmc_helpfigdir = $(datadir)/gnome/help/gmc/C/figs
gmc_helpfig_DATA = $(DISTFIGS)
DISTFIGS = \
fileprops.png \
gccmime.png \
gmc1.png \
gmc_move.png \
gmcprops1.png \
gmcprops2.png \
gmcprops3.png \
gmcprops4.png \
gmcprops5.png \
gmcprops6.png \
open_with.png \
rubberband.png
EXTRA_DIST = $(DISTFIGS)
CLEANFILES = *.eps
SUFFIXES = .png .eps
CONVERT = convert
CONVERT_FLAGS = -geometry 50%x50%
.png.eps:
$(CONVERT) $(CONVERT_FLAGS) $< $@
eps:
for fig in $(DISTFIGS); do \
$(MAKE) `echo $$fig | sed 's/\.png$$/.eps/'` || exit 1; \
done