blob: 4c81b8bf5d054e2f294d03adcaeadc703d4d71b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- Makefile.orig Sun May 2 13:39:22 2004
+++ Makefile Thu Sep 2 22:01:14 2004
@@ -3,7 +3,8 @@
export VERSION
# Where the binaries will go (yaxsltproc)
-BIN_DESTDIR = ${DESTDIR}/usr/bin/
+BIN_DESTDIR = ${PREFIX}/bin
+PKG_DESTDIR = ${PREFIX}/lib/ocaml/site-lib
DIST_FILES = Makefile OCamlMakefile AUTHORS README COPYING ChangeLog META.in TODO \
examples/Makefile examples/*.ml examples/*.x*l
@@ -40,8 +41,8 @@
rm -f META.tmp
install: all META
- ocamlfind install yaxi META src/*.mli src/*.cm* src/*.a
- install -D src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
+ ocamlfind install -destdir ${PKG_DESTDIR} yaxi META src/*.mli src/*.cm* src/*.a
+ ${BSD_INSTALL_PROGRAM} src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
dist: clean
mkdir tmp/yaxi-$(VERSION)
|