]> git.pld-linux.org Git - packages/MathPlanner.git/blame - MathPlanner-makefile.patch
- some updates
[packages/MathPlanner.git] / MathPlanner-makefile.patch
CommitLineData
d1cbc0ec 1--- ./src/Makefile.org Tue Jul 23 12:57:24 2002
8870c999
PG
2+++ ./src/Makefile Tue Jul 23 22:12:01 2002
3@@ -125,28 +125,7 @@
4
5 link:
6 $(CC) $(LIBS) *.o -o MathPlanner3
7- cp MathPlanner3 /usr/bin
8 clean:
d1cbc0ec
PG
9 rm -f *.o
10
11
12-
13-
14-
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
31-
32--- ./Makefile.org Tue Jul 23 13:07:49 2002
8870c999
PG
33+++ ./Makefile Tue Jul 23 22:19:18 2002
34@@ -1,15 +1,19 @@
d1cbc0ec
PG
35 # Makefile Sun Jul 23 11:50:12 2002
36
37-INSTALL_DIR = /opt/MathPlanner3
8870c999
PG
38+PREFIX = /usr/X11R6
39+BINDIR = $(PREFIX)/bin
40+DATADIR = $(PREFIX)/share
d1cbc0ec
PG
41+INSTALL_DIR = /opt/MathPlanner3
42
43-all:
44- @echo "Type 'make install' to build and install MathPlanner"
45+all: build install
46+
47+build:
48+ make -C src all
49
50 install:
51- mkdir $(INSTALL_DIR)
52- cp -R * $(INSTALL_DIR)
53- make -C $(INSTALL_DIR)/src all
54- install -s -m 755 $(INSTALL_DIR)/src/MathPlanner3 /usr/bin/MathPlanner3
55- make -C $(INSTALL_DIR)/src clean
8870c999
PG
56+ install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/MathPlanner3/{pixmaps,icons}
57+ install -s -m 755 src/MathPlanner3 $(DESTDIR)$(BINDIR)
58+ install MPLConfig.txt $(DESTDIR)$(DATADIR)/MathPlanner3/
59+ install pixmaps/* $(DESTDIR)$(DATADIR)/MathPlanner3/pixmaps
d1cbc0ec
PG
60 @echo " "
61 @echo "Type MathPlanner3 to start MathPlanner"
This page took 0.042309 seconds and 4 git commands to generate.