- fixed stupidy of author.... :-/
[packages/MathPlanner.git] / MathPlanner-makefile.patch
... / ...
CommitLineData
1--- ./src/Makefile.org Tue Jul 23 12:57:24 2002
2+++ ./src/Makefile Tue Jul 23 21:28:49 2002
3@@ -130,23 +130,3 @@
4 rm -f *.o
5
6
7-
8-
9-
10-
11-
12-
13-
14-
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27--- ./Makefile.org Tue Jul 23 13:07:49 2002
28+++ ./Makefile Tue Jul 23 21:28:00 2002
29@@ -1,15 +1,16 @@
30 # Makefile Sun Jul 23 11:50:12 2002
31
32-INSTALL_DIR = /opt/MathPlanner3
33+PREFIX = /usr
34+SBINDIR = $(PREFIX)/sbin
35+INSTALL_DIR = /opt/MathPlanner3
36
37-all:
38- @echo "Type 'make install' to build and install MathPlanner"
39+all: build install
40+
41+build:
42+ make -C src all
43
44 install:
45- mkdir $(INSTALL_DIR)
46- cp -R * $(INSTALL_DIR)
47- make -C $(INSTALL_DIR)/src all
48- install -s -m 755 $(INSTALL_DIR)/src/MathPlanner3 /usr/bin/MathPlanner3
49- make -C $(INSTALL_DIR)/src clean
50+ install -d $(DESTDIR)$(SBINDIR)
51+ install -s -m 755 src/MathPlanner3 $(DESTDIR)$(SBINDIR)
52 @echo " "
53 @echo "Type MathPlanner3 to start MathPlanner"
This page took 0.070609 seconds and 4 git commands to generate.