changeset 786:addad70ccb4a

Get rid of pnmtopng also, so we don't need NetPBM tools anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 09 Jun 2009 14:23:51 +0000
parents 04dd8afd4094
children 936055ee18a1
files Makefile.gen
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Tue Jun 09 14:20:03 2009 +0000
+++ b/Makefile.gen	Tue Jun 09 14:23:51 2009 +0000
@@ -74,7 +74,7 @@
 	$(COMP) -o $@ $+ $(LDFLAGS)
 
 %.png: %.map $(MAP2PPM_BIN)
-	$(MAP2PPM_BIN) -s 5 -O $< | pnmtopng -compression=9 > $@
+	$(MAP2PPM_BIN) -s 5 -O $< | convert ppm:- $@
 
 votk.html: votk.map
 	$(COLORMAP_BIN) $(COLORMAP_OPTS) -t "Valley of the Kings" -aOC -f xhtml -o $@ $<