summaryrefslogtreecommitdiff
blob: 1c38456c3a9a5eb8d3562fb1cf1eb4729b6d4514 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
diff -aur nemerle-0.3.1-orig/ncc/Makefile nemerle-0.3.1/ncc/Makefile
--- nemerle-0.3.1-orig/ncc/Makefile	2005-04-28 11:52:03.000000000 -0400
+++ nemerle-0.3.1/ncc/Makefile	2005-05-07 13:03:46.000000000 -0400
@@ -415,15 +415,16 @@
 
 install:
 	$(Q)if test ! -d $(DESTDIR)$(BINDIR); then $(INSTALL) -d $(DESTDIR)$(BINDIR); fi
+	$(Q)if test ! -d $(DESTDIR)$(LIBDIR)/nemerle; then $(INSTALL) -d $(DESTDIR)$(LIBDIR)/nemerle; fi
 	$(Q)$(GACUTIL_COMMAND) out.stage3/Nemerle.dll
 	$(Q)$(GACUTIL_COMMAND) out.stage3/Nemerle.Compiler.dll
 	$(Q)$(GACUTIL_COMMAND) out.stage3/Nemerle.Macros.dll
 	export MONO_PATH=$$MONO_PATH:$$PWD/out.stage3 ; $(NGEN_GAC)
-	$(INST) "[$(BINDIR)]" ncc.exe
-	$(Q)$(INSTALL) -m 755 out.stage3/ncc.exe $(DESTDIR)$(BINDIR)/ncc.exe
+	$(INST) "[$(LIBDIR)/nemerle/]" ncc.exe
+	$(Q)$(INSTALL) -m 755 out.stage3/ncc.exe $(DESTDIR)$(LIBDIR)/nemerle/ncc.exe
 	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
 		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/ncc && \
-		echo '$(NET_ENGINE) $(BINDIR)/ncc.exe "$$@"' >> $(DESTDIR)$(BINDIR)/ncc ; \
+		echo '$(NET_ENGINE) $(LIBDIR)/nemerle/ncc.exe "$$@"' >> $(DESTDIR)$(BINDIR)/ncc ; \
 		chmod 755 $(DESTDIR)$(BINDIR)/ncc ; \
 	fi
 
diff -aur nemerle-0.3.1-orig/tools/cs2n/Makefile nemerle-0.3.1/tools/cs2n/Makefile
--- nemerle-0.3.1-orig/tools/cs2n/Makefile	2005-05-02 14:37:58.000000000 -0400
+++ nemerle-0.3.1/tools/cs2n/Makefile	2005-05-07 13:02:54.000000000 -0400
@@ -106,11 +106,11 @@
 	$(Q)$(GACUTIL_COMMAND) Nemerle.CSharp.dll
 	$(Q)$(GACUTIL_COMMAND) Nemerle.CSharp.CS.dll
 	$(Q)$(GACUTIL_COMMAND) antlr.runtime.dll
-	$(INST) "[$(BINDIR)]" cs2n.exe
-	$(Q)$(INSTALL) -m 755 cs2n.exe $(DESTDIR)$(BINDIR)/cs2n.exe
+	$(INST) "[$(LIBDIR)/nemerle/]" cs2n.exe
+	$(Q)$(INSTALL) -m 755 cs2n.exe $(DESTDIR)$(LIBDIR)/nemerle/cs2n.exe
 	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
 		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/cs2n && \
-		echo '$(NET_ENGINE) $(BINDIR)/cs2n.exe "$$@"' >> $(DESTDIR)$(BINDIR)/cs2n ; \
+		echo '$(NET_ENGINE) $(LIBDIR)/nemerle/cs2n.exe "$$@"' >> $(DESTDIR)$(BINDIR)/cs2n ; \
 		chmod 755 $(DESTDIR)$(BINDIR)/cs2n ; \
 	fi
 
diff -aur nemerle-0.3.1-orig/tools/nemerlish/Makefile nemerle-0.3.1/tools/nemerlish/Makefile
--- nemerle-0.3.1-orig/tools/nemerlish/Makefile	2005-04-29 09:21:35.000000000 -0400
+++ nemerle-0.3.1/tools/nemerlish/Makefile	2005-05-07 13:03:55.000000000 -0400
@@ -24,11 +24,11 @@
 	$(NCC) -r Nemerle.Compiler.dll -o nemish.exe eval.n main.n
 
 install: nemish.exe
-	$(INST) "[$(BINDIR)]" nemish.exe
-	$(Q)$(INSTALL) -m 755 nemish.exe $(DESTDIR)$(BINDIR)/nemish.exe
+	$(INST) "[$(LIBDIR)/nemerle/]" nemish.exe
+	$(Q)$(INSTALL) -m 755 nemish.exe $(DESTDIR)$(LIBDIR)/nemerle/nemish.exe
 	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
 		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/nemish && \
-		echo '$(NET_ENGINE) $(BINDIR)/nemish.exe "$$@"' >> $(DESTDIR)$(BINDIR)/nemish ; \
+		echo '$(NET_ENGINE) $(LIBDIR)/nemerle/nemish.exe "$$@"' >> $(DESTDIR)$(BINDIR)/nemish ; \
 		chmod 755 $(DESTDIR)$(BINDIR)/nemish ; \
 	fi