15 lines
569 B
Text
15 lines
569 B
Text
$NetBSD: patch-Makefile,v 1.1 2013/07/03 10:40:33 jaapb Exp $
|
|
|
|
Install into DESTDIR
|
|
--- Makefile.orig 2013-01-03 19:39:03.000000000 +0000
|
|
+++ Makefile
|
|
@@ -88,7 +88,8 @@ man: all batteries.odocl
|
|
ocamlfind ocamldoc -package threads.posix -sort -man -hide-warnings -d man -I _build/libs -I _build/src libs/uniclib.mli src/*.mli
|
|
|
|
install: all uninstall_packages
|
|
- ocamlfind install $(NAME) $(INSTALL_FILES) \
|
|
+ ocamlfind install $(NAME) -destdir "${DESTDIR}${PREFIX}/lib/ocaml/site-lib" \
|
|
+ $(INSTALL_FILES) \
|
|
-optional $(OPT_INSTALL_FILES)
|
|
|
|
uninstall_packages:
|