blob: 3b0db18914bfd8ef374ddd64de6ec7b1961538da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-Makefile,v 1.1.1.1 2012/06/04 13:13:15 wiz Exp $
Changes to Makefile for DESTDIR support
--- Makefile.orig 2012-02-24 18:16:01.000000000 +0000
+++ Makefile
@@ -53,18 +53,18 @@ files/META.tyxml: files/META.in Makefile
install:
$(OCAMLFIND) install ${PACKAGENAME} \
- -patch-version ${VERSION} \
+ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
files/META ${INTF} ${IMPL} ${NATIMPL} \
${MLI_TO_INSTALL}
install-byte:
$(OCAMLFIND) install ${PACKAGENAME} \
- -patch-version ${VERSION} \
+ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
files/META ${INTF} ${IMPL} ${MLI_TO_INSTALL}
install-opt:
$(OCAMLFIND) install ${PACKAGENAME} \
- -patch-version ${VERSION} \
+ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
files/META ${INTF} ${NATIMPL} ${MLI_TO_INSTALL}
uninstall:
|