X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=Makefile-head.am;h=40656bc1bcad2d28b60165b3c68f9765f732e498;hp=4f4aa180d0841e38a91a5d794dccbb1096b9b5b6;hb=refs%2Fheads%2Fmodperl;hpb=7c7e14a7211e080d8798c9b6b585caf775c4b51d diff --git a/Makefile-head.am b/Makefile-head.am index 4f4aa18..40656bc 100644 --- a/Makefile-head.am +++ b/Makefile-head.am @@ -28,12 +28,22 @@ noinst_DATA= # Generally better behaviour but it requires GNU make. Harmless otherwise. .DELETE_ON_ERROR: -%.html: %.html.pl $(top_srcdir)/My/Web.pm $(top_srcdir)/WebConfig.pm - perl -I$(top_srcdir) >$@ $< - %.ppm: %.fig Makefile - fig2dev -L ppm -S4 -b10 $< $@ + fig2dev -L ppm -S4 -m1.75 -b10 $< | pnmgamma 0.4 >$@ %.gif: %.ppm - ppmtogif -sort $< >$@ + ppmquant -quiet 256 $< | ppmtogif -quiet -sort >$@ + +# Prevent: make: Circular %.ppm <- %.gif dependency dropped. +#%.ppm: %.gif +# giftopnm $< >$@ + +%.png: %.ppm + pnmtopng $< >$@ + +%.ppm: %.png + pngtopnm $< >$@ + +%.png: %.dia $(top_srcdir)/dia-w.sh + $(top_srcdir)/dia-w.sh --nosplash --export $@ $<