summaryrefslogtreecommitdiff
path: root/lang/caml-light/patches/patch-as
blob: c0e8151a68882701d33676f59d9fc01af43ba286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-as,v 1.1 2008/09/05 02:07:51 dholland Exp $

destdir support.

--- lex/Makefile~	1997-11-12 11:48:29.000000000 -0500
+++ lex/Makefile	2008-09-04 21:36:39.000000000 -0400
@@ -21,8 +21,8 @@ clean:
 	rm -f grammar.ml grammar.mli scanner.ml
 
 install:
-	cat $(LIBDIR)/header camllex > $(BINDIR)/camllex
-	chmod a+x $(BINDIR)/camllex
+	cat $(DESTDIR)$(LIBDIR)/header camllex > $(DESTDIR)$(BINDIR)/camllex
+	chmod a+x $(DESTDIR)$(BINDIR)/camllex
 
 grammar.ml grammar.mli: grammar.mly
 	$(CAMLYACC) grammar.mly