1 | --- configure.sh.orig 2008-04-22 00:39:50.000000000 +0100 |
---|
2 | +++ configure.sh 2008-04-22 00:41:28.000000000 +0100 |
---|
3 | @@ -166,7 +166,7 @@ |
---|
4 | #This is the makefile for vobcopy, mainly written by rosenauer. These things |
---|
5 | #below here are variable definitions. They get substituted in the (CC) and |
---|
6 | #stuff places. |
---|
7 | -CC ?= gcc |
---|
8 | +CC = cc |
---|
9 | #PREFIX += /usr/local |
---|
10 | #BINDIR = \${PREFIX}/bin |
---|
11 | #MANDIR = \${PREFIX}/man |
---|
12 | @@ -212,17 +212,20 @@ |
---|
13 | # mkdir -p \$(MANDIR)/man1 |
---|
14 | # cp vobcopy \$(BINDIR)/vobcopy |
---|
15 | # cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1 |
---|
16 | - install -d -m 755 \$(BINDIR) |
---|
17 | - install -d -m 755 \$(MANDIR)/man1 |
---|
18 | - install -d -m 755 \$(MANDIR)/de/man1 |
---|
19 | - install -m 755 vobcopy \$(BINDIR)/vobcopy |
---|
20 | - install -m 644 vobcopy.1 \$(MANDIR)/man1/vobcopy.1 |
---|
21 | - install -m 644 vobcopy.1.de \$(MANDIR)/de/man1/vobcopy.1 |
---|
22 | + install -d -m 755 \$(DESTDIR)\$(BINDIR) |
---|
23 | + install -d -m 755 \$(DESTDIR)\$(MANDIR)/man1 |
---|
24 | + install -d -m 755 \$(DESTDIR)\$(MANDIR)/de/man1 |
---|
25 | + install -m 755 vobcopy \$(DESTDIR)\$(BINDIR)/vobcopy |
---|
26 | + install -m 644 vobcopy.1 \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1 |
---|
27 | + install -m 644 vobcopy.1.de \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1 |
---|
28 | |
---|
29 | uninstall: |
---|
30 | - rm -f \$(BINDIR)/vobcopy |
---|
31 | - rm -f \$(MANDIR)/man1/vobcopy.1 |
---|
32 | - rm -f \$(MANDIR)/de/man1/vobcopy.1 |
---|
33 | + rm -f \$(DESTDIR)\$(BINDIR)/vobcopy |
---|
34 | + rm -f \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1 |
---|
35 | + rm -f \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1 |
---|
36 | + |
---|
37 | +all: vobcopy |
---|
38 | + |
---|
39 | " > Makefile |
---|
40 | |
---|
41 | echo "Next thing type \"make\" and then \"make install\"" |
---|