--- libglpng-1.45.old/Makefile +++ libglpng-1.45/Makefile @@ -1,8 +1,8 @@ CFLAGS=-Wall -g -O3 -fPIC -I$(shell pwd)/include LDFLAGS=-lpng -lGL SHAREDLIBFLAGS=-shared -DESTDIR=/usr/local -DOCDIR=$(DESTDIR)/share/doc/libglpng +DESTDIR=__META_PREFIX__ +DOCDIR=$(DESTDIR)/doc all: libglpng.a libglpng.so.1.45