summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-ab
blob: 40fe49d67abda2c56aaa2fcc704916c2bc12f80f (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
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-ab,v 1.3 1998/12/04 11:09:46 frueauf Exp $

--- compiler/Makefile.orig	Sat Apr 11 07:19:17 1998
+++ compiler/Makefile	Thu Dec  3 04:01:44 1998
@@ -70,7 +70,7 @@
 	$(MOSMLL) $(LINKFLAGS) -o mosmlcmp.w32 Mainc.uo
 
 Opcodes.sml: $(CAMLRT)/instruct.h
-	perl $(MOSMLTOOLS)/mksmlopc $(CAMLRT)/instruct.h > Opcodes.sml
+	$(PERL) $(MOSMLTOOLS)/mksmlopc $(CAMLRT)/instruct.h > Opcodes.sml
 
 Parser.sml Parser.sig: Parser.grm
 	$(MOSMLYACC) Parser.grm
@@ -85,10 +85,10 @@
 	$(MOSMLL) $(LINKFLAGS) -o mosmllnk.w32 Mainl.uo
 
 Predef.sml : $(CAMLRT)/globals.h $(CAMLRT)/fail.h
-	perl $(MOSMLTOOLS)/mksmlpre $(CAMLRT)/globals.h $(CAMLRT)/fail.h > Predef.sml
+	$(PERL) $(MOSMLTOOLS)/mksmlpre $(CAMLRT)/globals.h $(CAMLRT)/fail.h > Predef.sml
 
 Prim_c.sml : $(CAMLRT)/primitives
-	perl $(MOSMLTOOLS)/mksmlprc $(CAMLRT)/primitives > Prim_c.sml
+	$(PERL) $(MOSMLTOOLS)/mksmlprc $(CAMLRT)/primitives > Prim_c.sml
 
 mosmltop: $(COMP_OBJS) $(T_OBJS)
 	$(MOSMLL) $(LINKFLAGS) -o mosmltop Maint.uo
@@ -116,9 +116,9 @@
 	rm -f Makefile.bak
 
 install:
-	cp mosmlcmp $(LIBDIR)
-	cp mosmllnk $(LIBDIR)
-	cp mosmltop $(LIBDIR)
+	${INSTALL_DATA} mosmlcmp $(LIBDIR)
+	${INSTALL_DATA} mosmllnk $(LIBDIR)
+	${INSTALL_DATA} mosmltop $(LIBDIR)
 
 depend: Filename.sml Config.sml Opcodes.sml Parser.sml Parser.sig Lexer.sml \
     Predef.sml Prim_c.sml