--- Makefile.orig 2008-08-23 17:03:05 +0400 +++ Makefile 2008-08-23 17:03:20 +0400 @@ -16,7 +16,7 @@ ZLIB_LIBDIR=/usr/lib ZLIB_INCLUDE=/usr/include # Where to install the library. By default: OCaml's standard library directory. -INSTALLDIR=`$(OCAMLC) -where` +INSTALLDIR=$(DESTDIR)/usr/lib/ocaml # Flags for the C compiler. CFLAGS=-O -I$(ZLIB_INCLUDE) $(ZLIB)