blob: cc107676c8fa320aa09d9551c5ff68a620c36f04 (
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
|
--- Makefile.org 2003-03-11 21:30:41.000000000 +0000
+++ Makefile 2003-03-11 21:47:14.000000000 +0000
@@ -16,8 +16,8 @@
DVBDIR = ../DVB
DTVDIR = ./libdtv
-MANDIR = /usr/local/man
-BINDIR = /usr/local/bin
+MANDIR = /usr/man
+BINDIR = /usr/bin
PLUGINDIR= ./PLUGINS
@@ -117,12 +117,18 @@
# Install the files:
install:
- @cp vdr runvdr $(BINDIR)
- @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
- @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
+ @mkdir -p $(DESTDIR)$(BINDIR)
+ @mkdir -p $(BINDIR)
+ @cp vdr runvdr $(DESTDIR)$(BINDIR)
+ @mkdir -p $(DESTDIR)$(MANDIR)/man1
+ @mkdir -p $(DESTDIR)$(MANDIR)/man5
+ @mkdir -p $(MANDIR)/man1
+ @mkdir -p $(MANDIR)/man5
+ @gzip -c vdr.1 > $(DESTDIR)$(MANDIR)/man1/vdr.1.gz
+ @gzip -c vdr.5 > $(DESTDIR)$(MANDIR)/man5/vdr.5.gz
@if [ ! -d $(VIDEODIR) ]; then\
- mkdir $(VIDEODIR);\
- cp *.conf $(VIDEODIR);\
+ mkdir $(DESTDIR)$(VIDEODIR);\
+ cp *.conf $(DESTDIR)$(VIDEODIR);\
fi
# Source documentation:
|