blob: 0a82d5d16595c202b5525dc15468150aad701dd7 (
plain) (
blame)
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
|
--- Makefile.orig Sat Sep 23 14:14:43 2000
+++ Makefile Sat Nov 11 01:42:49 2000
@@ -4,9 +4,9 @@
CFLAGS = -O2 -Wall
LFLAGS = -lncurses
-BINDIR = /usr/local/bin
-DATDIR = /usr/local/share/games/pentix
-MANDIR = /usr/local/man/man1
+BINDIR = ${PREFIX}/bin
+DATDIR = ${PREFIX}/share/games/pentix
+MANDIR = ${PREFIX}/man/man1
PROG = pentix
DATA = pentix.qtn pentix.res readme.txt
@@ -23,10 +23,10 @@
all: $(INSTALL)
install: $(PROG)
- install -c -s -o bin -g bin -m 755 $(PROG) $(BINDIR)
- install -d -o bin -g bin -m 755 $(DATDIR)
- install -c -o bin -g bin -m 666 $(DATA) $(DATDIR)
- install -c -o bin -g bin -m 644 $(MAN1) $(MANDIR)
+ install -c -s -o root -g games -m 2755 $(PROG) $(BINDIR)
+ install -d -o root -g games -m 755 $(DATDIR)
+ install -c -o root -g games -m 664 $(DATA) $(DATDIR)
+ install -c -o root -g games -m 644 $(MAN1) $(MANDIR)
# Cleanup procedure
clean:
|